rbrindley: branch 2.0 r4712 - /branches/2.0/config/js/menus.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Mon Apr 6 12:05:10 CDT 2009


Author: rbrindley
Date: Mon Apr  6 12:05:07 2009
New Revision: 4712

URL: http://svn.digium.com/svn-view/asterisk-gui?view=rev&rev=4712
Log:

- advanced edit in voice menus no longer reloads the entire gui defaulting to the System Status page, instead it just reloads the voice menus frame, as the regular edit does, keeping the page at Voice Menus.


Modified:
    branches/2.0/config/js/menus.js

Modified: branches/2.0/config/js/menus.js
URL: http://svn.digium.com/svn-view/asterisk-gui/branches/2.0/config/js/menus.js?view=diff&rev=4712&r1=4711&r2=4712
==============================================================================
--- branches/2.0/config/js/menus.js (original)
+++ branches/2.0/config/js/menus.js Mon Apr  6 12:05:07 2009
@@ -91,12 +91,12 @@
 				});
 				x.callActions( function(){
 					ASTGUI.dialog.waitWhile('Updated VoiceMenu information <BR> Reloading GUI ... ');
-					setTimeout( function(){ top.window.location.reload(); } , 2000 );
+					setTimeout( function(){ window.location.reload(); } , 2000 );
 				});
 			}});
 		}catch(err){
 			alert("Error saving VoiceMenu");
-			top.window.location.reload();
+			window.location.reload();
 		}
 	},
 




More information about the asterisk-gui-commits mailing list