forked from 0x2620/pandora
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) {
|
||||
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]+/);
|
||||
|
|
Loading…
Reference in a new issue