From 4195c3baeb19ba433e3c3eefc4aa65102a3ce256 Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 6 Aug 2013 09:00:45 +0000 Subject: [PATCH] uploadDialog -> uploadVideoDialog --- static/js/allItems.js | 2 +- static/js/infoView.indiancinema.js | 2 +- static/js/mainMenu.js | 2 +- static/js/{uploadDialog.js => uploadVideoDialog.js} | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename static/js/{uploadDialog.js => uploadVideoDialog.js} (99%) diff --git a/static/js/allItems.js b/static/js/allItems.js index 1690451e..5846cc9d 100644 --- a/static/js/allItems.js +++ b/static/js/allItems.js @@ -80,7 +80,7 @@ pandora.ui.allItems = function(section) { .hide() .bindEvent({ click: function() { - pandora.$ui.uploadDialog = pandora.ui.uploadDialog().open(); + pandora.$ui.uploadVideoDialog = pandora.ui.uploadVideoDialog().open(); } }) .appendTo(that); diff --git a/static/js/infoView.indiancinema.js b/static/js/infoView.indiancinema.js index 9f410124..8978e60f 100644 --- a/static/js/infoView.indiancinema.js +++ b/static/js/infoView.indiancinema.js @@ -84,7 +84,7 @@ pandora.ui.infoView = function(data) { } else if (data_.id == 'metadata') { pandora.$ui.metadataDialog = pandora.ui.metadataDialog(data).open(); } else if (data_.id == 'upload') { - pandora.$ui.uploadDialog = pandora.ui.uploadDialog(data).open(); + pandora.$ui.uploadVideoDialog = pandora.ui.uploadVideoDialog(data).open(); } else if (data_.id == 'delete') { pandora.$ui.deleteItemDialog = pandora.ui.deleteItemDialog(data).open(); } diff --git a/static/js/mainMenu.js b/static/js/mainMenu.js index 63dc9232..b7300634 100644 --- a/static/js/mainMenu.js +++ b/static/js/mainMenu.js @@ -349,7 +349,7 @@ pandora.ui.mainMenu = function() { } else if (data.id == 'add') { pandora.addItem(); } else if (data.id == 'upload') { - pandora.$ui.uploadDialog = pandora.ui.uploadDialog().open(); + pandora.$ui.uploadVideoDialog = pandora.ui.uploadVideoDialog().open(); } else if (data.id == 'deletelist') { pandora.ui.deleteListDialog().open(); } else if (data.id == 'print') { diff --git a/static/js/uploadDialog.js b/static/js/uploadVideoDialog.js similarity index 99% rename from static/js/uploadDialog.js rename to static/js/uploadVideoDialog.js index feea22e3..e23f760c 100644 --- a/static/js/uploadDialog.js +++ b/static/js/uploadVideoDialog.js @@ -1,7 +1,7 @@ // vim: et:ts=4:sw=4:sts=4:ft=javascript 'use strict'; -pandora.ui.uploadDialog = function(data) { +pandora.ui.uploadVideoDialog = function(data) { var cancelled = false, file,