Make sure sortable gets send the request to server with correct menuaction, as jsonq always queued the request from home and that may causes wrong redirection. e.g. sortable grid inside an iframe of an application (mail.sieve)

This commit is contained in:
Hadi Nategh 2015-07-14 16:11:45 +00:00
parent d57072466a
commit 91a162f8ba

View File

@ -909,10 +909,11 @@ var et2_grid = et2_DOMWidget.extend([et2_IDetachedDOM, et2_IAligned, et2_IResize
items: "tr:not(.th)", items: "tr:not(.th)",
distance: 15, distance: 15,
stop: function(event, ui) { stop: function(event, ui) {
self.egw().jsonq(sortable,[self.tbody.sortable("toArray"), self.id], self.egw(window).json(sortable,[self.tbody.sortable("toArray"), self.id],
null, null,
self self,
); true
).sendRequest();
} }
}); });
}, },