always add error dialog class

This commit is contained in:
j 2012-01-26 12:24:07 +05:30
parent 8895e99063
commit f9682e3fb6

View file

@ -41,6 +41,7 @@ pandora.ui.errorDialog = function(data) {
title: Ox.toTitleCase(data.status.text),
width: 368
})
.addClass('OxErrorDialog');
.open();
} else {
// 0 (timeout) or 500 (error)
@ -83,9 +84,9 @@ pandora.ui.errorDialog = function(data) {
title: 'Server ' + Ox.toTitleCase(error),
width: 368
})
.addClass('OxErrorDialog');
.open();
}
}, 250);
}
that.addClass('OxErrorDialog');
};