\r
html += '<button class="dialog-yes"' + copy_id + '>' + options.yes_text + '</button>' + '</div></div>';\r
\r
\r
html += '<button class="dialog-yes"' + copy_id + '>' + options.yes_text + '</button>' + '</div></div>';\r
\r
+ var $dialog = $(html);\r
+\r
$('body').append($dialog);\r
var message = $('.dialog-content')[0];\r
message.style.visibility = "hidden";\r
$('body').append($dialog);\r
var message = $('.dialog-content')[0];\r
message.style.visibility = "hidden";\r
html: message,
extra_class: 'confirm',
yes_text: messages.yes,
html: message,
extra_class: 'confirm',
yes_text: messages.yes,
- no_callback: function() {
- $(".dialog").fadeOut("fast", function() {
- $('.dialog').remove();
- })
- },
show_no: true,
no_text: messages.no
}
show_no: true,
no_text: messages.no
}