pari: trunk r680 - /trunk/config/feditor.html
asterisk-gui-commits at lists.digium.com
asterisk-gui-commits at lists.digium.com
Mon Apr 16 14:37:41 MST 2007
Author: pari
Date: Mon Apr 16 16:37:41 2007
New Revision: 680
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=680
Log:
list only .conf files in the file editor
Modified:
trunk/config/feditor.html
Modified: trunk/config/feditor.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/feditor.html?view=diff&rev=680&r1=679&r2=680
==============================================================================
--- trunk/config/feditor.html (original)
+++ trunk/config/feditor.html Mon Apr 16 16:37:41 2007
@@ -118,6 +118,7 @@
}
recfiles[i] = recfiles[i].replace(/^\s*|\s*$/g,'') ;
if( recfiles[i] == "" ){ continue; }
+ if( recfiles[i].substr( (recfiles[i].length - 5), recfiles[i].length) != ".conf") { continue; }
file_name = recfiles[i].stripTags() ;
New_OPTION = document.createElement('option');
New_OPTION.text = file_name ;
More information about the asterisk-gui-commits
mailing list