Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

search.js 436 B

há 13 anos
1234567891011121314151617
  1. // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
  2. // MIT License. See license.txt
  3. wn.ui.toolbar.Search = wn.ui.toolbar.SelectorDialog.extend({
  4. init: function() {
  5. this._super({
  6. title: wn._("Search"),
  7. execute: function(val) {
  8. wn.set_route("List", val);
  9. },
  10. help: wn._("Shortcut") + ": Ctrl+G"
  11. });
  12. // get new types
  13. this.set_values(wn.boot.profile.can_search.join(',').split(','));
  14. }
  15. });