mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Removing commented out StatusTitle logic in LeftAndMain.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92686 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
5aef49a0a7
commit
73e9d884aa
@ -453,32 +453,6 @@ function ajaxErrorHandler(response) {
|
||||
errorMessage('Server Error', 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() {
|
||||
if(this.title) {
|
||||
this.message = this.title;
|
||||
this.title = null;
|
||||
}
|
||||
if(this.message) {
|
||||
$('statusMessage').showMessage(this.message);
|
||||
}
|
||||
},
|
||||
onmouseout : function() {
|
||||
if(this.message) {
|
||||
$('statusMessage').fade(0.3,1);
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
function hideLoading() {
|
||||
if($('Loading')) $('Loading').style.display = 'none';
|
||||
Element.removeClassName(document.body, 'stillLoading');
|
||||
|
Loading…
Reference in New Issue
Block a user