pari: trunk r128 - /trunk/config/scripts/astman.js
asterisk-gui-commits at lists.digium.com
asterisk-gui-commits at lists.digium.com
Mon Nov 13 09:58:15 MST 2006
Author: pari
Date: Mon Nov 13 10:58:15 2006
New Revision: 128
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=128
Log:
minor bug fix in numberplan - on 'new pattern' an existing pattern is being hilighted instead of 'New Entry'
Modified:
trunk/config/scripts/astman.js
Modified: trunk/config/scripts/astman.js
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/scripts/astman.js?view=diff&rev=128&r1=127&r2=128
==============================================================================
--- trunk/config/scripts/astman.js (original)
+++ trunk/config/scripts/astman.js Mon Nov 13 10:58:15 2006
@@ -648,13 +648,14 @@
box.oldselect = box.options.length - 1;
category = box.stored_config.catbyname[subcat];
- pos = category.names.length;
+ pos = category.fields.length;
category.subfields[pos] = subitem;
category.names[pos] = subname;
category.fields[pos] = null;
newoption.value = subcat + "]" + pos;
newoption.core_name = category.subfields[pos].name;
- box.value = newoption.value;
+ //box.value = newoption.value; // Causing a bug - like when adding 2nd pattern in 1st category
+
name = subitem.name;
subitem.name = '';
box.engine.cat2fields(box.widgets, subitem);
More information about the asterisk-gui-commits
mailing list