Add todo and commented out code for what this is supposed to do
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 8 Jan 2011 01:07:17 +0000 (20:07 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 8 Jan 2011 01:07:17 +0000 (20:07 -0500)
ansel/lib/Application.php

index c35d20b..ad7df52 100644 (file)
@@ -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);
+              //    }
+              //});
           });'
         );
     }