Changeset 5096

Show
Ignore:
Timestamp:
10/03/07 19:42:38 (6 years ago)
Author:
p_lindheimer
Message:

Merged revisions 5095 via svnmerge from
http://svn.freepbx.org/freepbx/trunk

........

r5095 | p_lindheimer | 2007-10-03 16:40:58 -0700 (Wed, 03 Oct 2007) | 1 line


#2412 leftover goto_indicate in javascript making validation fail

........

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.3

    • Property svnmerge-integrated changed from /freepbx/branches/2.2:1-4145,4434,4437 /freepbx/trunk:1-4133,4135-4136,4140-5015,5017-5035,5040-5042,5076 to /freepbx/branches/2.2:1-4145,4434,4437 /freepbx/trunk:1-4133,4135-4136,4140-5015,5017-5035,5040-5042,5076,5095
  • freepbx/branches/2.3/amp_conf/htdocs/admin/common/libfreepbx.javascripts.js

    r5043 r5096  
    3030{elem.onmouseover=doHideSelects;elem.onmouseout=doShowSelects;}}}}} 
    3131function updateInfoTargets(){links=document.getElementsByTagName('a');var i,elem;for(i=0;elem=links[i];i++){if(elem.className=='info'&&elem.href.charAt(elem.href.length-1)=='#'){elem.href='javascript:void(null)';}}} 
    32 function setDestinations(theForm,numForms){for(var formNum=0;formNum<numForms;formNum++){var whichitem=0;while(whichitem<theForm['goto_indicate'+formNum].length){if(theForm['goto_indicate'+formNum][whichitem].checked){theForm['goto'+formNum].value=theForm['goto_indicate'+formNum][whichitem].value;} 
     32function setDestinations(theForm,numForms){for(var formNum=0;formNum<numForms;formNum++){var whichitem=0;while(whichitem<theForm['goto'+formNum].length){if(theForm['goto'+formNum][whichitem].checked){theForm['goto'+formNum].value=theForm['goto'+formNum][whichitem].value;} 
    3333whichitem++;}}} 
    3434function body_loaded(){setAllInfoToHideSelects();updateInfoTargets();} 
  • freepbx/branches/2.3/amp_conf/htdocs/admin/common/script.legacy.js

    r5043 r5096  
    116116  for (var formNum = 0; formNum < numForms; formNum++) { 
    117117    var whichitem = 0; 
    118     while (whichitem < theForm['goto_indicate'+formNum].length) { 
    119       if (theForm['goto_indicate'+formNum][whichitem].checked) { 
    120         theForm['goto'+formNum].value=theForm['goto_indicate'+formNum][whichitem].value; 
     118    while (whichitem < theForm['goto'+formNum].length) { 
     119      if (theForm['goto'+formNum][whichitem].checked) { 
     120        theForm['goto'+formNum].value=theForm['goto'+formNum][whichitem].value; 
    121121      } 
    122122      whichitem++;