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-02-23 11:27:22 +00:00
parent de79b1eaa3
commit d8ec75d063

View File

@ -886,10 +886,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();
} }
}); });
}, },