Merge lp:~hatch/juju-gui/ie10-upgrade-1246946 into lp:juju-gui/experimental
Proposed by
Jeff Pihach
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 1183 | ||||
Proposed branch: | lp:~hatch/juju-gui/ie10-upgrade-1246946 | ||||
Merge into: | lp:juju-gui/experimental | ||||
Diff against target: |
60 lines (+24/-2) 2 files modified
app/views/viewlets/service-overview.js (+11/-2) test/test_inspector_overview.js (+13/-0) |
||||
To merge this branch: | bzr merge lp:~hatch/juju-gui/ie10-upgrade-1246946 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju GUI Hackers | Pending | ||
Review via email:
|
Description of the change
Fixes upgrade charm page reload in IE10
When clicking a link in the inspector in the upgrade charm
section in IE10 the page would reload instead of dispatching
to the router. This fixes it by generating complete relative
links so that the faulty method in YUI's pjax.base class can
parse them and react accordingly.
To post a comment you must log in.
Reviewers: mp+193716_ code.launchpad. net,
Message:
Please take a look.
Description:
Fixes upgrade charm page reload in IE10
When clicking a link in the inspector in the upgrade charm
section in IE10 the page would reload instead of dispatching
to the router. This fixes it by monkey patching the offending
method in the YUI source.
https:/ /code.launchpad .net/~hatch/ juju-gui/ ie10-upgrade- 1246946/ +merge/ 193716
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/21430043/
Affected files (+62, -2 lines): javascripts/ app-patches- extension. js debug.js
A [revision details]
M app/app.js
A app/assets/
M app/modules-
M bin/merge-files
Index: [revision details]
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: <email address hidden>
+New revision: <email address hidden>
Index: app/app.js
=== modified file 'app/app.js'
--- app/app.js 2013-10-30 11:59:48 +0000
+++ app/app.js 2013-11-03 20:10:26 +0000
@@ -51,7 +51,8 @@
Y.juju. SubAppRegistrat ion,
Y.juju. NSRouter,
Y.juju. Cookies, GhostDeployer] , { GhostDeployer,
- Y.juju.
+ Y.juju.
+ Y.juju.Patches], {
/* juju-inspector- widget' , juju-ghost- inspector' , juju-view- bundle' , controls' , extension'
Extension properties
@@ -1349,6 +1350,7 @@
'
'
'
- 'viewmode-controls'
+ 'viewmode-
+ 'app-patches-
]
});
Index: app/modules- debug.js debug.js' debug.js 2013-10-18 16:47:34 +0000 debug.js 2013-11-03 20:10:26 +0000
fullpath: '/juju- ui/assets/ javascripts/ app-cookies- extension. js'
=== modified file 'app/modules-
--- app/modules-
+++ app/modules-
@@ -181,6 +181,10 @@
},
+ 'app-patches- extension' : { ui/assets/ javascripts/ app-patches- extension. js'
'sub- app': {
fullpath: '/juju- ui/assets/ javascripts/ sub-app. js'
+ fullpath: '/juju-
+ },
+
},
Index: bin/merge-files .js.push. apply(filesToLo ad.js, [ app/assets/ javascripts/ app-subapp- extension. js', app/assets/ javascripts/ app-cookies- extension. js', javascripts/ app-patches- extension. js', app/assets/ javascripts/ d3-components. js', app/assets/ javascripts/ d3.min. js', app/assets/ javascripts/ d3.status. js',
=== modified file 'bin/merge-files'
--- bin/merge-files 2013-10-31 03:26:53 +0000
+++ bin/merge-files 2013-11-03 20:48:36 +0000
@@ -88,6 +88,7 @@
filesToLoad
'
'
+ 'app/assets/
'
'
'
Index: app/assets/ javascripts/ app-patches- extension. js javascripts/ app-patches- extension. js' javascripts/ app-patches- extension. js 1970-01-01 00:00:00 javascripts/ app-patches- extension. js 2013-11-03 20:10:26
=== added file 'app/assets/
--- app/assets/
+0000
+++ app/assets/
+0000
@@ -0,0 +1,51 @@
+/*
+This file i...