Merge pull request #1566 from Vern1erCa11per/fix/reorder/mode

fix #1565 fix reorder with rows mode
This commit is contained in:
Owen Stephens 2018-04-14 17:17:19 +02:00 committed by GitHub
commit 47d7e5b523
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -769,7 +769,10 @@ DataTableView.prototype._createSortingMenu = function(elmt) {
Refine.postCoreProcess( Refine.postCoreProcess(
"reorder-rows", "reorder-rows",
null, null,
{ "sorting" : JSON.stringify(self._sorting) }, {
"sorting" : JSON.stringify(self._sorting),
"mode" : ui.browsingEngine.getMode()
},
{ rowMetadataChanged: true }, { rowMetadataChanged: true },
{ {
onDone: function() { onDone: function() {