fix id check on 0xdb, fixes #1433

This commit is contained in:
j 2013-03-19 13:41:31 +00:00
parent 15234820da
commit 41ef8f13a7

View file

@ -327,7 +327,7 @@ pandora.ui.filesView = function(options, self) {
change: function(data) {
var conditions, matches;
if (key == 'id' && data.value.substr(0, 2) != '0x') {
if (pandora.site.site.id == 'oxdb') {
if (pandora.site.site.id == '0xdb') {
matches = data.value.match(/\d{7}/);
} else {
matches = data.value.match(/[A-Z]+/);