rename the messagebox classes as they are clashing with the state ones

This commit is contained in:
Damien Churchill 2009-03-20 19:08:40 +00:00
parent a97fbbc1ef
commit 0f44b06197
4 changed files with 5 additions and 6 deletions

View File

@ -163,10 +163,10 @@ input {
}
/* MessageBox icon styles */
.x-deluge-warning {
.x-deluge-icon-warning {
background: url('/icons/16/warning.png') no-repeat 2px;
}
.x-deluge-error {
.x-deluge-icon-error {
background: url('/icons/16/error.png') no-repeat 2px;
}

View File

@ -343,8 +343,7 @@ Deluge.SideBar = {
},
renderer: function(value, p, r) {
var lname = value.toLowerCase();
lname = lname.replace('.', '_');
var lname = value.toLowerCase().replace('.', '_');
var image = '';
if (r.store.id == 'tracker_host') {

View File

@ -84,7 +84,7 @@ Deluge.Connections = {
buttons: Ext.MessageBox.OK,
modal: false,
icon: Ext.MessageBox.ERROR,
iconCls: 'x-deluge-error'
iconCls: 'x-deluge-icon-error'
});
}
}

View File

@ -38,7 +38,7 @@ Deluge.Login = {
buttons: Ext.MessageBox.OK,
modal: false,
icon: Ext.MessageBox.WARNING,
iconCls: 'x-deluge-warning'
iconCls: 'x-deluge-icon-warning'
});
}
}