From 7fcea9e2cdbc7f39f66b061be0515b149a743eb3 Mon Sep 17 00:00:00 2001 From: goulvench Date: Thu, 18 Nov 2010 02:14:16 -0800 Subject: [PATCH 1/3] Removing focus when submitting a form, to avoid a blinking indicator sitting atop the loading message. --- js/jquery.mobile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/jquery.mobile.js b/js/jquery.mobile.js index 389f1ce0a3f..ae44516da89 100644 --- a/js/jquery.mobile.js +++ b/js/jquery.mobile.js @@ -188,6 +188,7 @@ undefined, true ); + $(':focus').blur(); event.preventDefault(); }); From 8680c5542dc08b6ea986e948312e1d8d6afda6c7 Mon Sep 17 00:00:00 2001 From: Goulven CHAMPENOIS Date: Mon, 13 Dec 2010 17:35:27 +0100 Subject: [PATCH 2/3] Revert "Removing focus when submitting a form, to avoid a blinking indicator sitting atop the loading message." This reverts commit 7fcea9e2cdbc7f39f66b061be0515b149a743eb3. --- js/jquery.mobile.js | 1 - 1 file changed, 1 deletion(-) diff --git a/js/jquery.mobile.js b/js/jquery.mobile.js index ae44516da89..389f1ce0a3f 100644 --- a/js/jquery.mobile.js +++ b/js/jquery.mobile.js @@ -188,7 +188,6 @@ undefined, true ); - $(':focus').blur(); event.preventDefault(); }); From 1bfbc97531daab4c98ad9e5264deff9eb38076c5 Mon Sep 17 00:00:00 2001 From: Goulven Date: Tue, 1 Mar 2011 17:28:23 +0100 Subject: [PATCH 3/3] Modifying path.get regexp so that it works when files have no extension. --- js/jquery.mobile.navigation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 323866b04f1..f0c1f1ce5af 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -19,7 +19,7 @@ if( newPath === undefined ){ newPath = location.hash; } - return path.stripHash( newPath ).replace(/[^\/]*\.[^\/*]+$/, ''); + return path.stripHash( newPath ).replace(/[^\/]*\.?[^\/*]+$/, ''); }, //return the substring of a filepath before the sub-page key, for making a server request