Sfoglia il codice sorgente

[fix] multiple list options for kanban

version-14
Prateeksha Singh 8 anni fa
committed by Nabin Hait
parent
commit
0363bbeed3
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      frappe/public/js/frappe/ui/toolbar/awesome_bar.js

+ 1
- 1
frappe/public/js/frappe/ui/toolbar/awesome_bar.js Vedi File

@@ -96,7 +96,7 @@ frappe.search.AwesomeBar = Class.extend({
me.options.forEach(function(option) {
if(option.route) {
if(option.route[0] === "List" && option.route[2]) {
option.route.splice(2, 1);
option.route.splice(2);
}
var str_route = (typeof option.route==='string') ?
option.route : option.route.join('/');


Caricamento…
Annulla
Salva