forked from shaba/openuds
* Removed debug from gui
* fixed choice (removed debug info shown on select items...
This commit is contained in:
parent
7db14ec4b5
commit
9302c0cd76
@ -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
|
@ -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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user