show close button on cancel

This commit is contained in:
j 2012-03-17 01:21:29 +01:00
parent 22f7e504e4
commit 5251a5a4f1

View file

@ -34,6 +34,7 @@ pandora.ui.uploadDialog = function(data) {
pandora.firefogg && pandora.firefogg.cancel();
pandora.$ui.upload && pandora.$ui.upload.abort();
actionButton.options('title', 'Select Video');
closeButton.show();
} else {
actionButton.options('title', 'Cancel');
closeButton.hide();