fix id check on 0xdb, fixes #1433
This commit is contained in:
parent
15234820da
commit
41ef8f13a7
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ pandora.ui.filesView = function(options, self) {
|
||||||
change: function(data) {
|
change: function(data) {
|
||||||
var conditions, matches;
|
var conditions, matches;
|
||||||
if (key == 'id' && data.value.substr(0, 2) != '0x') {
|
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}/);
|
matches = data.value.match(/\d{7}/);
|
||||||
} else {
|
} else {
|
||||||
matches = data.value.match(/[A-Z]+/);
|
matches = data.value.match(/[A-Z]+/);
|
||||||
|
|
Loading…
Reference in a new issue