Commit ebac8154 authored by Martin Urban's avatar Martin Urban
Browse files

due to API changes in fileselector (see 1837) changes in codeeditor

parent fdfb7925
......@@ -315,8 +315,8 @@ var CodeEditor = Emitter.extend({
proceedSave();
});
},
sort: ["name", "ext"],
reverse: [false, false]
sort: "ext",
reverse: false
};
vispa.callbacks.emit("openFileSelector", this.view.getWorkspaceId(), args);
......
......@@ -252,8 +252,8 @@ var CodeEditorView = vispa.ExtensionView.Center.extend({
},
sort: ["name", "ext"],
reverse: [false, false]
sort: "ext",
reverse: false
};
vispa.callbacks.emit("openFileSelector", this.getWorkspaceId(), args);
}
......
......@@ -261,8 +261,8 @@ var CodeEditorOutput = Emitter.extend({
});
}
},
sort: ["name", "ext"],
reverse: [false, false]
sort: "ext",
reverse: false
};
vispa.callbacks.emit("openFileSelector", this.view.getWorkspaceId(), args);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment