From b02e19891af4c258520959559164756d54f79583 Mon Sep 17 00:00:00 2001 From: Ghislain Seguin Date: Wed, 29 Jun 2011 21:02:53 -0700 Subject: [PATCH] Replace $.noop by function that throws to not fail silently --- js/jquery.mobile.navigation.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 4283ef39..1891cd51 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -615,7 +615,9 @@ $.ajaxTransport("+*", function( s ) { if ( s.crossDomain && !$.mobile.ajaxCrossDomainEnabled ) { return { - send: $.noop, + send: function() { + $.error( "Cross domain .ajax() calls are disabled." ); + }, abort: $.noop }; }