elofgren: Comment out StatusTitle? code for ajax actions because on IE6, IE7, and Safari 3, the status message becomes 'null' on 2nd hover and because there is not room for long titles when action buttons are on the same line. Now a simple title tooltip is shown instead.

(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41858 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-09-15 00:57:22 +00:00
parent e23eaf9f8d
commit 9413acbc05

View File

@ -239,7 +239,7 @@ function prepareAjaxActions(actions, formName, tabName) {
} }
return false; return false;
} }
behaveAs(button, StatusTitle); // behaveAs(button, StatusTitle);
} }
} }
@ -455,6 +455,9 @@ function ajaxErrorHandler(response) {
* Applying StatusTitle to an element will mean that the title attribute is shown as a statusmessage * Applying StatusTitle to an element will mean that the title attribute is shown as a statusmessage
* upon hover * upon hover
*/ */
/* Commenting out because on IE6, IE7, and Safari 3, the statusmessage becomes
* 'null' on 2nd hover and because there is not room for long titles when
* action buttons are on the same line.
StatusTitle = Class.create(); StatusTitle = Class.create();
StatusTitle.prototype = { StatusTitle.prototype = {
onmouseover : function() { onmouseover : function() {
@ -472,6 +475,7 @@ StatusTitle.prototype = {
} }
} }
} }
*/
/** /**
* BaseForm is the base form class used in the CMS. * BaseForm is the base form class used in the CMS.