From 41ef8f13a78cb4e5d4c84786f00e4b8382c8d02f Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 19 Mar 2013 13:41:31 +0000 Subject: [PATCH] fix id check on 0xdb, fixes #1433 --- static/js/pandora/filesView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora/filesView.js b/static/js/pandora/filesView.js index df0084116..4bd3060a8 100644 --- a/static/js/pandora/filesView.js +++ b/static/js/pandora/filesView.js @@ -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]+/);