aboutsummaryrefslogtreecommitdiffstats
path: root/src/scenario/Application.js
diff options
context:
space:
mode:
authorIgor Minar2011-04-11 10:20:42 -0700
committerIgor Minar2011-04-11 10:20:42 -0700
commitce0fbc6a7763982abf6e3f2183e1fd49e3f548fb (patch)
tree28df8444e2c3278fa12f9e5d35d5599de301f898 /src/scenario/Application.js
parent3d388498e5c8920ca3c88d3ee1eccefcfcf99626 (diff)
downloadangular.js-ce0fbc6a7763982abf6e3f2183e1fd49e3f548fb.tar.bz2
fix e2e runner's navigateTo when url contains # fragment
Diffstat (limited to 'src/scenario/Application.js')
-rw-r--r--src/scenario/Application.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scenario/Application.js b/src/scenario/Application.js
index 9d05aad0..988dae90 100644
--- a/src/scenario/Application.js
+++ b/src/scenario/Application.js
@@ -50,7 +50,7 @@ angular.scenario.Application.prototype.getWindow_ = function() {
angular.scenario.Application.prototype.checkUrlStatus_ = function(url, callback) {
var self = this;
_jQuery.ajax({
- url: url,
+ url: url.replace(/#.*/, ''), //IE encodes and sends the url fragment, so we must strip it
type: 'HEAD',
complete: function(request) {
if (request.status < 200 || request.status >= 300) {