From b7e255f6d02885cb0d093812e32f4632734d4b6f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 14 Oct 2013 21:57:11 +0000 Subject: [PATCH] luci2: remove dead code from LuCI2.cbi.Map() --- luci2/htdocs/luci2/luci2.js | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/luci2/htdocs/luci2/luci2.js b/luci2/htdocs/luci2/luci2.js index 84ebf84..ffa58ea 100644 --- a/luci2/htdocs/luci2/luci2.js +++ b/luci2/htdocs/luci2/luci2.js @@ -5643,33 +5643,6 @@ function LuCI2() }); }, - dialog: function(id) - { - var d = $('
'); - var p = $('

'); - - $('') - .attr('src', _luci2.globals.resource + '/icons/loading.gif') - .css('vertical-align', 'middle') - .css('padding-right', '10px') - .appendTo(p); - - p.append(_luci2.tr('Loading data...')); - - p.appendTo(d); - d.appendTo(id); - - return d.dialog({ - modal: true, - draggable: false, - resizable: false, - height: 90, - open: function() { - $(this).parent().children('.ui-dialog-titlebar').hide(); - } - }); - }, - insertInto: function(id) { var self = this; -- 2.30.2