From 26202ceed1adce2b114d8de4eafb9636970e6317 Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 21 Jul 2013 13:33:06 +0000 Subject: [PATCH] close preview dialog on ui.page change --- static/js/previewDialog.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/js/previewDialog.js b/static/js/previewDialog.js index f3e98f319..1762af10b 100644 --- a/static/js/previewDialog.js +++ b/static/js/previewDialog.js @@ -34,6 +34,9 @@ pandora.ui.previewDialog = function() { pandora_item: function() { that.close(); }, + pandora_page: function() { + that.close(); + }, pandora_section: function() { that.close(); },