* Removed debug from gui

* fixed choice (removed debug info shown on select items...
This commit is contained in:
Adolfo Gómez 2014-03-20 10:21:32 +00:00
parent 7db14ec4b5
commit 9302c0cd76
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,9 @@
# jshint strict: true # jshint strict: true
((gui, $, undefined_) -> ((gui, $, undefined_) ->
"use strict" "use strict"
# Public attributes
gui.debug = off
# "public" methods # "public" methods
gui.doLog = (args...)-> gui.doLog = (args...)->
@ -393,8 +396,5 @@
return return
# Public attributes
gui.debug = true
return return
) window.gui = window.gui or {}, jQuery ) window.gui = window.gui or {}, jQuery

View File

@ -5,7 +5,7 @@
{% verbatim %} {% verbatim %}
<select class="selectpicker show-menu-arrow show-tick {{ css }}" name="{{ name }}" data-style="btn-default" data-width="100%" id="{{ name }}_field" {{# if readonly }} disabled{{/ if }}> <select class="selectpicker show-menu-arrow show-tick {{ css }}" name="{{ name }}" data-style="btn-default" data-width="100%" id="{{ name }}_field" {{# if readonly }} disabled{{/ if }}>
{{#each values }} {{#each values }}
<option value="{{ id }}"{{# ifequals id ../value }}selected{{/ ifequals }}>{{ text }} --> {{ id }} {{ ../value }}</option> <option value="{{ id }}"{{# ifequals id ../value }}selected{{/ ifequals }}>{{ text }}</option>
{{/each}} {{/each}}
</select> </select>
{% endverbatim %} {% endverbatim %}