diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2013-10-14 21:57:11 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2013-10-14 21:57:11 +0000 |
commit | b7e255f6d02885cb0d093812e32f4632734d4b6f (patch) | |
tree | ca29d3a4f0325fd3d294d5c55a6a9009adaa41b9 | |
parent | 375aa260fd22b8db29f947baf306942dc47c1c11 (diff) | |
download | luci2-ui-b7e255f6d02885cb0d093812e32f4632734d4b6f.tar.gz |
luci2: remove dead code from LuCI2.cbi.Map()
-rw-r--r-- | luci2/htdocs/luci2/luci2.js | 27 |
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; |