mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +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
de79b1eaa3
commit
d8ec75d063
@ -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();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user