rename the messagebox classes as they are clashing with the state ones
This commit is contained in:
parent
a97fbbc1ef
commit
0f44b06197
|
@ -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;
|
||||
}
|
|
@ -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') {
|
||||
|
|
|
@ -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'
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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'
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue