From a418d8ca1e04fc4f216aa74e7827f755b02e0874 Mon Sep 17 00:00:00 2001 From: Niklas Date: Thu, 27 Oct 2011 19:58:45 +0200 Subject: disabled right click context menu, changed dialog button size (see css), changed customdhcp logger. it now sends all log messages through the socket --- src/html/js/networkDiscovery.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/html/js/networkDiscovery.js') diff --git a/src/html/js/networkDiscovery.js b/src/html/js/networkDiscovery.js index 1057bd7..bc99a7c 100644 --- a/src/html/js/networkDiscovery.js +++ b/src/html/js/networkDiscovery.js @@ -47,7 +47,9 @@ var showLog = function (t) { //$("#nd_show_log_msg").attr('readonly','readonly'); $('#nd_show_log_dialog').resizable("enable"); $("#nd_show_log_dialog").dialog( - { minWidth: 600, + { buttons: { "Cancel": function() { + $(this).dialog("close");}}, + minWidth: 600, maxHeight: 400, modal: true, draggable: false, @@ -127,7 +129,7 @@ var ip4_manualConfigurationDialog = function () { $("#nd_manual_configuration_dialog").dialog( { buttons: { "Cancel": function() { $(this).dialog("close");}, - "Ok": function() { + "Continue": function() { var bValid = true; allFields.removeClass("ui-state-error"); @@ -239,7 +241,7 @@ var chooseInterfaceDialog = function (i) { var updateStatus = function (s){ - + $("#nd_status").html(s); }; -- cgit v1.2.3-55-g7522