Fix some styles for execution options dialog
This commit is contained in:
parent
1767cef701
commit
6ed37743a5
|
@ -7,6 +7,7 @@
|
|||
<script type="text/javascript">
|
||||
|
||||
var has_execution_options = ${'true' if master.has_execution_options(batch) else 'false'};
|
||||
var dialog_opened = false;
|
||||
|
||||
$(function() {
|
||||
|
||||
|
@ -15,7 +16,7 @@
|
|||
if (has_execution_options) {
|
||||
$('#execution-options-dialog').dialog({
|
||||
title: "Execution Options",
|
||||
width: 500,
|
||||
width: 550,
|
||||
height: 300,
|
||||
modal: true,
|
||||
buttons: [
|
||||
|
@ -32,7 +33,13 @@
|
|||
$(this).dialog('close');
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
open: function() {
|
||||
if (! dialog_opened) {
|
||||
$('#execution-options-dialog select').selectmenu();
|
||||
dialog_opened = true;
|
||||
}
|
||||
}
|
||||
});
|
||||
} else {
|
||||
$(this).button('option', 'label', "Executing, please wait...").button('disable');
|
||||
|
|
Loading…
Reference in a new issue