* 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

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

View File

@ -5,7 +5,7 @@
{% 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 }}>
{{#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}}
</select>
{% endverbatim %}