mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-17 21:54:06 +00:00
Speaker can be changed in admin/conference/x/events
This commit is contained in:
parent
cb76a9b7cc
commit
c6956482f0
6 changed files with 52 additions and 1 deletions
|
|
@ -242,3 +242,13 @@ $.extend( $.fn.dataTableExt.oPagination, {
|
|||
}
|
||||
} );
|
||||
|
||||
/* Commodity function for modal windows */
|
||||
|
||||
window.build_dialog = function(selector, content) {
|
||||
// Close it and remove content if it's already open
|
||||
$("#" + selector).modal('hide');
|
||||
$("#" + selector).remove();
|
||||
// Add new content and pops it up
|
||||
$("body").append("<div id=\"" + selector + "\" class=\"modal fade\" role=\"dialog\">\n" + content + "</div>");
|
||||
$("#" + selector).modal();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue