From 3df8711f508dced311fb216e00335dc0200ecb64 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Fri, 30 Dec 2016 11:37:17 +0000 Subject: [PATCH] update Former-commit-id: af219c017c6eea620e157445f2bdb62871e7850b --- _embed/public/js/common.js | 3 ++- _embed/public/js/listing.js | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/_embed/public/js/common.js b/_embed/public/js/common.js index b227ba5e..34d58cc4 100644 --- a/_embed/public/js/common.js +++ b/_embed/public/js/common.js @@ -1,7 +1,8 @@ 'use strict'; var tempID = "_fm_internal_temporary_id", - buttons = {}; + buttons = {}, + selectedItems = []; // Removes an element, if exists, from an array Array.prototype.removeElement = function(element) { diff --git a/_embed/public/js/listing.js b/_embed/public/js/listing.js index f8338b00..63b78abf 100644 --- a/_embed/public/js/listing.js +++ b/_embed/public/js/listing.js @@ -1,7 +1,5 @@ 'use strict'; -var selectedItems = []; - var reloadListing = function(callback) { let request = new XMLHttpRequest(); request.open('GET', window.location);