summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-10-14 21:57:11 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-10-14 21:57:11 +0000
commitb7e255f6d02885cb0d093812e32f4632734d4b6f (patch)
treeca29d3a4f0325fd3d294d5c55a6a9009adaa41b9
parent375aa260fd22b8db29f947baf306942dc47c1c11 (diff)
downloadluci2-ui-b7e255f6d02885cb0d093812e32f4632734d4b6f.tar.gz
luci2: remove dead code from LuCI2.cbi.Map()
-rw-r--r--luci2/htdocs/luci2/luci2.js27
1 files changed, 0 insertions, 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 = $('<div />');
- var p = $('<p />');
-
- $('<img />')
- .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;