From 1509f5561d2d66414ceb3450fe6512c872ec507d Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 13 Apr 2014 22:19:50 +0200 Subject: [PATCH] luci2: fix save functionality on Map() objects after 1df7615 --- luci2/htdocs/luci2/luci2.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- 2.30.2