pari: branch 2.0 r3875 - /branches/2.0/config/

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Wed Sep 24 17:09:05 CDT 2008


Author: pari
Date: Wed Sep 24 17:09:04 2008
New Revision: 3875

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=3875
Log:
 Allow file uploads on AA50 & ABE


Modified:
    branches/2.0/config/backup.html
    branches/2.0/config/menuprompts_upload.html
    branches/2.0/config/mohfiles.html

Modified: branches/2.0/config/backup.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/backup.html?view=diff&rev=3875&r1=3874&r2=3875
==============================================================================
--- branches/2.0/config/backup.html (original)
+++ branches/2.0/config/backup.html Wed Sep 24 17:09:04 2008
@@ -52,7 +52,7 @@
 var upload_Path; // path for 'uploads' as defined in http.conf - this variable will be automatically updated from http.conf
 
 onUploadForm_beforeUploading = function(){
-	if( top.sessionData.PLATFORM.isAST_1_4 ){
+	if( !parent.sessionData.PLATFORM.isAA50 && !parent.sessionData.PLATFORM.isABE  && top.sessionData.PLATFORM.isAST_1_4 ){
 		alert("File Uploads are supported in Asterisk 1.6.0/trunk");
 		return;
 	}

Modified: branches/2.0/config/menuprompts_upload.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/menuprompts_upload.html?view=diff&rev=3875&r1=3874&r2=3875
==============================================================================
--- branches/2.0/config/menuprompts_upload.html (original)
+++ branches/2.0/config/menuprompts_upload.html Wed Sep 24 17:09:04 2008
@@ -76,7 +76,7 @@
 
 
 onUploadForm_beforeUploading = function(){
-	if( top.sessionData.PLATFORM.isAST_1_4 ){
+	if( !parent.sessionData.PLATFORM.isAA50 && !parent.sessionData.PLATFORM.isABE  && top.sessionData.PLATFORM.isAST_1_4 ){
 		alert("File Uploads are supported in Asterisk 1.6.0/trunk");
 		return;
 	}

Modified: branches/2.0/config/mohfiles.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/mohfiles.html?view=diff&rev=3875&r1=3874&r2=3875
==============================================================================
--- branches/2.0/config/mohfiles.html (original)
+++ branches/2.0/config/mohfiles.html Wed Sep 24 17:09:04 2008
@@ -59,7 +59,7 @@
 };
 
 var onUploadForm_beforeUploading = function(){
-	if( top.sessionData.PLATFORM.isAST_1_4 ){
+	if( !parent.sessionData.PLATFORM.isAA50 && !parent.sessionData.PLATFORM.isABE  && top.sessionData.PLATFORM.isAST_1_4 ){
 		alert("File Uploads are supported in Asterisk 1.6.0/trunk");
 		return;
 	}




More information about the asterisk-gui-commits mailing list