mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
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:
parent
d57072466a
commit
91a162f8ba
@ -909,10 +909,11 @@ var et2_grid = et2_DOMWidget.extend([et2_IDetachedDOM, et2_IAligned, et2_IResize
|
||||
items: "tr:not(.th)",
|
||||
distance: 15,
|
||||
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,
|
||||
self
|
||||
);
|
||||
self,
|
||||
true
|
||||
).sendRequest();
|
||||
}
|
||||
});
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user