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
@ -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
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user