Fixed global vars

This commit is contained in:
Tobias Reich 2014-04-15 14:17:32 +02:00
parent 76d04922f2
commit 3a67cd4728
3 changed files with 8 additions and 4 deletions

View File

@ -362,7 +362,8 @@ photo = {
editTags: function(photoIDs) {
var oldTags = "",
tags = "";
tags = "",
buttons;
if (!photoIDs) return false;
if (photoIDs instanceof Array===false) photoIDs = [photoIDs];

View File

@ -13,7 +13,8 @@ var settings = {
dbUser,
dbPassword,
dbHost,
buttons;
buttons,
params;
buttons = [
["Connect", function() {
@ -191,7 +192,8 @@ var settings = {
setSorting: function() {
var buttons,
sorting;
sorting,
params;
buttons = [
["Change Sorting", function() {

View File

@ -132,7 +132,8 @@ upload = {
var albumID = album.getID(),
params,
extension,
buttons;
buttons,
link;
if (albumID===false) albumID = 0;