includes/clientside/static/login.js
changeset 550 685e839d934e
parent 532 03429d7b1537
child 582 a38876c0793c
--- a/includes/clientside/static/login.js	Wed May 07 14:06:16 2008 -0400
+++ b/includes/clientside/static/login.js	Sun May 11 16:58:58 2008 -0400
@@ -93,7 +93,7 @@
   logindata = {};
   
   var title = ( user_level > USER_LEVEL_MEMBER ) ? $lang.get('user_login_ajax_prompt_title_elev') : $lang.get('user_login_ajax_prompt_title');
-  logindata.mb_object = new messagebox(MB_OKCANCEL | MB_ICONLOCK, title, '');
+  logindata.mb_object = new MessageBox(MB_OKCANCEL | MB_ICONLOCK, title, '');
   
   logindata.mb_object.onclick['Cancel'] = function()
   {
@@ -338,7 +338,7 @@
   {
     logindata.mb_object.destroy();
     var error_msg = $lang.get('user_' + ( response.error.toLowerCase() ));
-    new messagebox(MB_ICONSTOP | MB_OK, $lang.get('user_err_login_generic_title'), error_msg);
+    new MessageBox(MB_ICONSTOP | MB_OK, $lang.get('user_err_login_generic_title'), error_msg);
     return false;
   }
   // Main mode switch