Commit e4c8fd43 authored by Benjamin Fischer's avatar Benjamin Fischer
Browse files

File2Extension: added temporary fix to change the display type

parent a9971f96
......@@ -44,34 +44,33 @@ define([
this.$root.instance.vue.content.$emit("filterStart");
},
},
// Views: {
// label: "Change View",
// iconClass: "fa fa-image",
// buttonClass: "btn-default",
// // unique: true,
// // multiple: false,
// // fastmenu: "dropdown",
// items: {
// Symbol: {
// label: "Symbol",
// iconClass: "fa fa-image",
// buttonClass: "btn-default",
// callback: function() {
// //noinspection JSLint
// this.$root.instance.fb.changeView(SymbolView);
// }
// },
// Table: {
// label: "Table",
// iconClass: "fa fa-list",
// buttonClass: "btn-default",
// callback: function() {
// //noinspection JSLint
// this.$root.instance.fb.changeView(TableView);
// }
// }
// }
// },
// FIXME: implement proper auto-menu-entries for level-0-preferences
displayType: {
label: "Display type",
iconClass: "fa fa-image",
buttonClass: "btn-default",
position: 4,
fastmenu: "dropdown",
items: {
symbol: {
label: "Icon",
iconClass: "fa fa-image",
buttonClass: "btn-default",
callback: function() {
this.$root.instance.prefs.set("displayType", "icon");
}
},
table: {
label: "Detail",
iconClass: "fa fa-list",
buttonClass: "btn-default",
callback: function() {
this.$root.instance.prefs.set("displayType", "detail");
}
}
}
},
};
return menu;
......
Supports Markdown
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