From 7c2f556963aa1d63f225b315add4524c01986ac9 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Fri, 7 Jan 2011 20:07:17 -0500 Subject: [PATCH] Add todo and commented out code for what this is supposed to do --- ansel/lib/Application.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ansel/lib/Application.php b/ansel/lib/Application.php index c35d20be8..ad7df5276 100644 --- a/ansel/lib/Application.php +++ b/ansel/lib/Application.php @@ -245,6 +245,13 @@ class Ansel_Application extends Horde_Registry_Application '$(window.document).bind("mobileinit", function() { $.mobile.page.prototype.options.backBtnText = "' . _("Back") .'"; $.mobile.loadingMessage = "' . _("loading") . '"; + // TODO: Figure out how to force load the gallerylist page.. + // this does not work + //$("#imageview").live("pagebeforeshow", function() { + // if (!AnselMobile.currentImage) { + // $.mobile.changePage("gallerylist", "slide", false, true); + // } + //}); });' ); } -- 2.11.0