cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmo...@apache.org
Subject [2/2] git commit: Replace ?showBack with #?showBack for wp8
Date Wed, 06 Aug 2014 20:22:07 GMT
Replace ?showBack with #?showBack for wp8


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/commit/b73c9bdb
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/tree/b73c9bdb
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/diff/b73c9bdb

Branch: refs/heads/master
Commit: b73c9bdbb3f7afc5f482dbc87798bb28c722085c
Parents: e1dc65c
Author: Michal Mocny <mmocny@gmail.com>
Authored: Wed Aug 6 16:01:27 2014 -0400
Committer: Michal Mocny <mmocny@gmail.com>
Committed: Wed Aug 6 16:01:27 2014 -0400

----------------------------------------------------------------------
 www/main.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/blob/b73c9bdb/www/main.js
----------------------------------------------------------------------
diff --git a/www/main.js b/www/main.js
index 5838b25..7e37e53 100644
--- a/www/main.js
+++ b/www/main.js
@@ -194,7 +194,7 @@ function runMain() {
   createActionButton('Auto Tests', setMode.bind(null, 'auto'));
   createActionButton('Manual Tests', setMode.bind(null, 'manual'));
   createActionButton('Reset App', location.reload.bind(location));
-  if (/showBack/.exec(location.search)) {
+  if (/showBack/.exec(location.hash)) {
       createActionButton('Back', function() {
           history.go(-1);
       });


Mime
View raw message