From 88bfc0e8a2fd62453fbb28bd92882fb877eca19a Mon Sep 17 00:00:00 2001 From: Paul Vauterin Date: Mon, 28 Apr 2014 11:12:09 +0100 Subject: [PATCH] Set Popup frame settings history --- PopupFrame.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/PopupFrame.js b/PopupFrame.js index 47ba080..a7a533d 100644 --- a/PopupFrame.js +++ b/PopupFrame.js @@ -22,6 +22,13 @@ define(["jquery", "DQX/Utils", "DQX/DocEl", "DQX/Msg", "DQX/Framework", "DQX/Pop PopupFrame.hasThumbNails = true; } + PopupFrame.setFrameSettingsHistory = function(typeID, frameSettings) { + if (!PopupFrame._settingsHistory[typeID]) + PopupFrame._settingsHistory[typeID] = {}; + PopupFrame._settingsHistory[typeID].frameSettings = frameSettings; + }; + + PopupFrame.PopupFrame = function (itypeID, settings) { DQX.checkIsString(itypeID); DQX.requireMember(settings, 'title');