CC-4479: Buttons in dialog windows are not styled

-done
This commit is contained in:
denise 2012-09-18 17:22:24 -04:00
parent 39e1bd5271
commit 1d699fe0b8
2 changed files with 33 additions and 13 deletions

View file

@ -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);
},