Fixed global vars
This commit is contained in:
parent
76d04922f2
commit
3a67cd4728
@ -362,7 +362,8 @@ photo = {
|
|||||||
editTags: function(photoIDs) {
|
editTags: function(photoIDs) {
|
||||||
|
|
||||||
var oldTags = "",
|
var oldTags = "",
|
||||||
tags = "";
|
tags = "",
|
||||||
|
buttons;
|
||||||
|
|
||||||
if (!photoIDs) return false;
|
if (!photoIDs) return false;
|
||||||
if (photoIDs instanceof Array===false) photoIDs = [photoIDs];
|
if (photoIDs instanceof Array===false) photoIDs = [photoIDs];
|
||||||
|
@ -13,7 +13,8 @@ var settings = {
|
|||||||
dbUser,
|
dbUser,
|
||||||
dbPassword,
|
dbPassword,
|
||||||
dbHost,
|
dbHost,
|
||||||
buttons;
|
buttons,
|
||||||
|
params;
|
||||||
|
|
||||||
buttons = [
|
buttons = [
|
||||||
["Connect", function() {
|
["Connect", function() {
|
||||||
@ -191,7 +192,8 @@ var settings = {
|
|||||||
setSorting: function() {
|
setSorting: function() {
|
||||||
|
|
||||||
var buttons,
|
var buttons,
|
||||||
sorting;
|
sorting,
|
||||||
|
params;
|
||||||
|
|
||||||
buttons = [
|
buttons = [
|
||||||
["Change Sorting", function() {
|
["Change Sorting", function() {
|
||||||
|
@ -132,7 +132,8 @@ upload = {
|
|||||||
var albumID = album.getID(),
|
var albumID = album.getID(),
|
||||||
params,
|
params,
|
||||||
extension,
|
extension,
|
||||||
buttons;
|
buttons,
|
||||||
|
link;
|
||||||
|
|
||||||
if (albumID===false) albumID = 0;
|
if (albumID===false) albumID = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user