diff -r 6894cfd94dfb -r 685e839d934e includes/clientside/static/ajax.js --- a/includes/clientside/static/ajax.js Wed May 07 14:06:16 2008 -0400 +++ b/includes/clientside/static/ajax.js Sun May 11 16:58:58 2008 -0400 @@ -133,7 +133,7 @@ a.id = 'invalidjson_link'; a.onclick = function() { - var mb = new messagebox(MB_YESNO | MB_ICONEXCLAMATION, 'Do you really want to view this response as HTML?', 'If the response was changed during transmission to include malicious code, you may be allowing that malicious code to run by viewing the response as HTML. Only do this if you have reviewed the response text and have found no suspicious code in it.'); + var mb = new MessageBox(MB_YESNO | MB_ICONEXCLAMATION, 'Do you really want to view this response as HTML?', 'If the response was changed during transmission to include malicious code, you may be allowing that malicious code to run by viewing the response as HTML. Only do this if you have reviewed the response text and have found no suspicious code in it.'); mb.onclick['Yes'] = function() { var html = $dynano('invalidjson_link').object._resp; @@ -351,7 +351,7 @@ { miniPromptDestroy(box, true); ajaxRenameDoClientTransform(newname); - new messagebox( MB_OK|MB_ICONINFORMATION, $lang.get('ajax_rename_success_title'), $lang.get('ajax_rename_success_body', { page_name_new: newname }) ); + new MessageBox( MB_OK|MB_ICONINFORMATION, $lang.get('ajax_rename_success_title'), $lang.get('ajax_rename_success_body', { page_name_new: newname }) ); mb_previously_had_darkener = false; } else @@ -770,7 +770,7 @@ inner_html += ENANO_THEME_LIST; inner_html += ' '; inner_html += '

'; - var chtheme_mb = new messagebox(MB_OKCANCEL|MB_ICONQUESTION, $lang.get('ajax_changestyle_title'), inner_html); + var chtheme_mb = new MessageBox(MB_OKCANCEL|MB_ICONQUESTION, $lang.get('ajax_changestyle_title'), inner_html); chtheme_mb.onbeforeclick['OK'] = ajaxChangeStyleComplete; } @@ -1333,7 +1333,7 @@ function aboutKeepAlive() { - new messagebox(MB_OK|MB_ICONINFORMATION, $lang.get('user_keepalive_info_title'), $lang.get('user_keepalive_info_body')); + new MessageBox(MB_OK|MB_ICONINFORMATION, $lang.get('user_keepalive_info_title'), $lang.get('user_keepalive_info_body')); } function ajaxShowCaptcha(code)