parent
39e1bd5271
commit
1d699fe0b8
|
@ -164,9 +164,15 @@ function buildScheduleDialog (json) {
|
|||
draggable: true,
|
||||
modal: true,
|
||||
close: closeDialog,
|
||||
buttons: {"Ok": function() {
|
||||
$(this).dialog("close");
|
||||
}}
|
||||
buttons: [
|
||||
{
|
||||
text: "Ok",
|
||||
"class": "btn",
|
||||
click: function() {
|
||||
$(this).dialog("close");
|
||||
}
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
//set the start end times so the builder datatables knows its time range.
|
||||
|
@ -207,9 +213,15 @@ function buildContentDialog (json){
|
|||
height: height,
|
||||
modal: true,
|
||||
close: closeDialog,
|
||||
buttons: {"Ok": function() {
|
||||
dialog.remove();
|
||||
}}
|
||||
buttons: [
|
||||
{
|
||||
text: "Ok",
|
||||
"class": "btn",
|
||||
click: function() {
|
||||
dialog.remove();
|
||||
}
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
dialog.dialog('open');
|
||||
|
|
|
@ -63,14 +63,22 @@
|
|||
$.extend(config, {
|
||||
autoOpen: false,
|
||||
modal: true,
|
||||
buttons: {
|
||||
"Cancel": function() {
|
||||
browserDlg.dialog("close");
|
||||
buttons: [
|
||||
{
|
||||
text: "Cancel",
|
||||
"class": "btn",
|
||||
click: function() {
|
||||
browserDlg.dialog("close");
|
||||
}
|
||||
},
|
||||
"Open": function() {
|
||||
doneOk();
|
||||
},
|
||||
},
|
||||
{
|
||||
text: "Open",
|
||||
"class": "btn",
|
||||
click: function() {
|
||||
doneOk();
|
||||
}
|
||||
}
|
||||
],
|
||||
resize: function(event, ui) {
|
||||
recalculateSize(event, ui);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue