summaryrefslogtreecommitdiffstats
path: root/src/html/js/networkDiscovery.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/html/js/networkDiscovery.js')
-rw-r--r--src/html/js/networkDiscovery.js22
1 files changed, 19 insertions, 3 deletions
diff --git a/src/html/js/networkDiscovery.js b/src/html/js/networkDiscovery.js
index f26385b..1057bd7 100644
--- a/src/html/js/networkDiscovery.js
+++ b/src/html/js/networkDiscovery.js
@@ -1,3 +1,9 @@
+var hideProgressIndicator = function () {
+ $("#ajaxBusy").hide();
+};
+
+
+
var updateTips = function ( t ) {
$( ".validateTips" )
.text( t )
@@ -39,10 +45,16 @@ var checkRegexp = function ( o, regexp, n ) {
var showLog = function (t) {
$("#nd_show_log_msg").html(t);
//$("#nd_show_log_msg").attr('readonly','readonly');
+ $('#nd_show_log_dialog').resizable("enable");
$("#nd_show_log_dialog").dialog(
- { minWidth: 450,
+ { minWidth: 600,
+ maxHeight: 400,
modal: true,
- draggable: false
+ draggable: false,
+ closeOnEscape: false,
+ open: function(event, ui) {
+ $(this).css({'max-height': 400, 'overflow-y': 'auto'});
+ },
});
};
@@ -152,6 +164,7 @@ var ip4_manualConfigurationDialog = function () {
modal: true,
resizable: false,
draggable: false,
+ closeOnEscape: false,
close: function() {allFields.val("").removeClass("ui-state-error");},
open: function(event, ui) { $(".ui-dialog-titlebar-close").hide();}
});
@@ -180,6 +193,7 @@ var abortBootDialog = function (m) {
modal: true,
resizable: false,
draggable: false,
+ closeOnEscape: false,
open: function(event, ui) { $(".ui-dialog-titlebar-close").hide();}
});
};
@@ -217,6 +231,7 @@ var chooseInterfaceDialog = function (i) {
modal: true,
resizable: false,
draggable: false,
+ closeOnEscape: false,
open: function(event, ui) { $(".ui-dialog-titlebar-close").hide();}
});
}
@@ -246,6 +261,7 @@ var updateIfStatus = function(i, s){
var addInterface = function (i){
+ hideProgressIndicator();
$("#nd_progress_container").append(
"<div class='interface'>"+
" Interface: " +i+
@@ -254,7 +270,7 @@ var addInterface = function (i){
" style='height: 10px;'></div>"+
"</div>"
);
- $("#"+i+"_progress").progressbar({ value: 33 });
+ //$("#"+i+"_progress").progressbar({ value: 33 });
};