From f1d8fcbe364aa2cc1bc6704231560841e53c073e Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 18 Jun 2012 12:56:31 +0200 Subject: [PATCH] proper test for undefined --- static/js/pandora/uploadDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora/uploadDialog.js b/static/js/pandora/uploadDialog.js index bbef877d..97f52555 100644 --- a/static/js/pandora/uploadDialog.js +++ b/static/js/pandora/uploadDialog.js @@ -67,7 +67,7 @@ pandora.ui.uploadDialog = function(data) { // FIXME: is this necessary? pandora._status = $status; pandora._info = $info; - if (Ox.isUndefined(Firefogg)) { + if (typeof Firefogg == 'undefined') { /* selectFile = $('') .attr({