[ZBX-9941] Zabbix Maps - Cloning - No "Add" button after selecting "Clone" button Created: 2015 Oct 07 Updated: 2017 May 30 Resolved: 2015 Oct 15 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 3.0.0alpha3 |
Fix Version/s: | 3.0.0alpha3 |
Type: | Incident report | Priority: | Major |
Reporter: | Kenneth Palmertree | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | forms | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
3.0.0alpha3 |
Description |
Clone an existing map, the "update" button shows up and not the "add" button. If you hit update, you get an error then the add button shows and gives you the chance to save the cloned map. |
Comments |
Comment by vitalijs.cemeris (Inactive) [ 2015 Oct 12 ] |
(1) No translation strings changed. sasha CLOSED |
Comment by vitalijs.cemeris (Inactive) [ 2015 Oct 12 ] |
RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-9941 |
Comment by Alexander Vladishev [ 2015 Oct 13 ] |
(2) please use short open tags in Zabbix version 3.0.
text(<?= CJs::encodeJson(_('Add')); ?>);
vitalijs.cemeris RESOLVED in r56140 sasha CLOSED |
Comment by Alexander Vladishev [ 2015 Oct 13 ] |
(3) in similar places the order of method calls is different: frontends/php/include/views/js/adm.regexprs.edit.js.php frontends/php/include/views/js/configuration.action.edit.js.php frontends/php/include/views/js/configuration.discovery.edit.js.php $('#update') .text(<?= CJs::encodeJson(_('Add')) ?>) .attr({id: 'add', name: 'add'}); vitalijs.cemeris RESOLVED in r56140 sasha CLOSED |
Comment by Alexander Vladishev [ 2015 Oct 13 ] |
(4) "value" is unused in that case. Please do not change it! vitalijs.cemeris RESOLVED in r56140 sasha CLOSED |
Comment by Alexander Vladishev [ 2015 Oct 15 ] |
Successfully tested! |
Comment by vitalijs.cemeris (Inactive) [ 2015 Oct 15 ] |
Fixed in pre-3.0.0alpha3 (trunk) r56169. |