Add groups with mandatory by js

master
Vitaliy Filippov 2014-05-29 17:16:08 +04:00
parent 47eac4cbfd
commit 4672f71abc
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@
<option value="[% g.id %]">[% g.name | html %]</option>
[% END %]
</select>
<a href="#" class="icon-add" onclick="addListGroup('[% name %]'); return false;">Add new group</a>
<a href="#" class="icon-add" onclick="addListGroup('[% name %]'); return false;">Add this group</a>
</p>
[% END %]
@ -118,7 +118,7 @@
[% END %]
</select>
[%+ PROCESS control_select id='etalon_control', control=0 %]
[%+ PROCESS control_select id='etalon_control', control=constants.CONTROLMAPMANDATORY %]
</div>
<script language="JavaScript">