diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-03-01 20:40:11 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-03-01 20:40:11 +0100 |
commit | 966d1586c084a1c03c0c22c45efa26c1e7704d5b (patch) | |
tree | add2b222c8bb983449d851c23e68314570a3edb9 /view/tpl | |
parent | 4df78b06cf1db2760afe10d5b905858df513d9b4 (diff) | |
download | volse-hubzilla-966d1586c084a1c03c0c22c45efa26c1e7704d5b.tar.gz volse-hubzilla-966d1586c084a1c03c0c22c45efa26c1e7704d5b.tar.bz2 volse-hubzilla-966d1586c084a1c03c0c22c45efa26c1e7704d5b.zip |
fix js error and add id to field input block
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/events-js.tpl | 2 | ||||
-rwxr-xr-x | view/tpl/field_input.tpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/events-js.tpl b/view/tpl/events-js.tpl index 08c8aa64a..c29d80347 100755 --- a/view/tpl/events-js.tpl +++ b/view/tpl/events-js.tpl @@ -1,7 +1,7 @@ <div class="generic-content-wrapper"> <div class="section-title-wrapper"> <div class="pull-right"> - <button class="btn btn-success btn-xs" onclick="openClose('form'); closeMenu('event-tools');">{{$new_event.1}}</button> + <button class="btn btn-success btn-xs" onclick="openClose('form');">{{$new_event.1}}</button> <div class="btn-group"> <button class="btn btn-default btn-xs" onclick="changeView('prev', false);" title="{{$prev}}"><i class="icon-backward"></i></button> <button id="events-spinner" class="btn btn-default btn-xs" onclick="changeView('today', false);" title="{{$today}}"><i class="icon-bullseye"></i></button> diff --git a/view/tpl/field_input.tpl b/view/tpl/field_input.tpl index 128bbfbe1..d6a7f56b2 100755 --- a/view/tpl/field_input.tpl +++ b/view/tpl/field_input.tpl @@ -1,4 +1,4 @@ - <div class='form-group field input'> + <div id="id_{{$field.0}}_wrapper" class='form-group field input'> <label for='id_{{$field.0}}' id='label_{{$field.0}}'>{{$field.1}}{{if $field.4}}<span class="required"> {{$field.4}}</span>{{/if}}</label> <input class="form-control" name='{{$field.0}}' id='id_{{$field.0}}' type="text" value="{{$field.2}}"{{if $field.5}} {{$field.5}}{{/if}}> <span id='help_{{$field.0}}' class='help-block'>{{$field.3}}</span> |