pari: branch 2.0 r3643 - /branches/2.0/config/
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Fri Aug 8 13:28:57 CDT 2008
Author: pari
Date: Fri Aug 8 13:28:56 2008
New Revision: 3643
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=3643
Log:
throw alerts when trying to upload files on Asterisk 1.4
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=3643&r1=3642&r2=3643
==============================================================================
--- branches/2.0/config/backup.html (original)
+++ branches/2.0/config/backup.html Fri Aug 8 13:28:56 2008
@@ -52,6 +52,10 @@
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 ){
+ alert("File Uploads are supported in Asterisk 1.6.0/trunk");
+ return;
+ }
starteduploading = 1;
parent.ASTGUI.dialog.waitWhile('File Upload in progress, please wait ..');
return true;
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=3643&r1=3642&r2=3643
==============================================================================
--- branches/2.0/config/menuprompts_upload.html (original)
+++ branches/2.0/config/menuprompts_upload.html Fri Aug 8 13:28:56 2008
@@ -76,6 +76,10 @@
onUploadForm_beforeUploading = function(){
+ if( top.sessionData.PLATFORM.isAST_1_4 ){
+ alert("File Uploads are supported in Asterisk 1.6.0/trunk");
+ return;
+ }
var tmp_fname = upload_Filename.toLowerCase();
if( tmp_fname.endsWith('.wav') || tmp_fname.endsWith('.gsm') || tmp_fname.endsWith('.ulaw') || tmp_fname.endsWith('.alaw') ){
starteduploading = 1;
Modified: branches/2.0/config/mohfiles.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/mohfiles.html?view=diff&rev=3643&r1=3642&r2=3643
==============================================================================
--- branches/2.0/config/mohfiles.html (original)
+++ branches/2.0/config/mohfiles.html Fri Aug 8 13:28:56 2008
@@ -59,6 +59,10 @@
};
var onUploadForm_beforeUploading = function(){
+ if( top.sessionData.PLATFORM.isAST_1_4 ){
+ alert("File Uploads are supported in Asterisk 1.6.0/trunk");
+ return;
+ }
var tmp_fname = upload_Filename.toLowerCase();
if( tmp_fname.endsWith('.wav') || tmp_fname.endsWith('.gsm') || tmp_fname.endsWith('.ulaw') || tmp_fname.endsWith('.alaw') ){
starteduploading = 1;
More information about the asterisk-gui-commits
mailing list