From: Jo-Philipp Wich Date: Sun, 13 Apr 2014 20:19:50 +0000 (+0200) Subject: luci2: fix save functionality on Map() objects after 1df7615 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1509f5561d2d66414ceb3450fe6512c872ec507d;p=project%2Fluci2%2Fui.git luci2: fix save functionality on Map() objects after 1df7615 --- diff --git a/luci2/htdocs/luci2/luci2.js b/luci2/htdocs/luci2/luci2.js index 7c09901..dac499f 100644 --- a/luci2/htdocs/luci2/luci2.js +++ b/luci2/htdocs/luci2/luci2.js @@ -7012,7 +7012,9 @@ function LuCI2() { var self = ev.data.self; - self.trigger('save', ev); + self.send().then(function() { + self.trigger('save', ev); + }); }, _ev_reset: function(ev)