Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(81)

Unified Diff: app/subapps/browser/browser.js

Issue 9036049: Fixes #1174358 remove dupe code/driveby route fix
Patch Set: Fixes #1174358 remove dupe code/driveby route fix Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « app/modules-debug.js ('k') | app/subapps/browser/views/charmresults.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/subapps/browser/browser.js
=== modified file 'app/subapps/browser/browser.js'
--- app/subapps/browser/browser.js 2013-04-29 21:08:02 +0000
+++ app/subapps/browser/browser.js 2013-05-09 00:36:59 +0000
@@ -389,6 +389,12 @@
extraCfg.renderTo = container.one('.bws-content');
}
+ // If there's a selected charm we need to pass that info onto the View
+ // to render it selected.
+ if (this._viewState.charmID) {
+ extraCfg.activeID = this._viewState.charmID;
+ }
+
this._search = new Y.juju.browser.views.BrowserSearchView(
this._getViewCfg(extraCfg));
« no previous file with comments | « app/modules-debug.js ('k') | app/subapps/browser/views/charmresults.js » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b