From 9413acbc05b0bdc57116ee8cba519b44ed24b48b Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sat, 15 Sep 2007 00:57:22 +0000 Subject: [PATCH] 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 --- javascript/LeftAndMain.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/javascript/LeftAndMain.js b/javascript/LeftAndMain.js index aafe079a..38daeec7 100644 --- a/javascript/LeftAndMain.js +++ b/javascript/LeftAndMain.js @@ -239,7 +239,7 @@ function prepareAjaxActions(actions, formName, tabName) { } 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 * 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.prototype = { onmouseover : function() { @@ -472,6 +475,7 @@ StatusTitle.prototype = { } } } +*/ /** * BaseForm is the base form class used in the CMS.