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

Unified Diff: app/views/inspector.js

Issue 11843043: Ghost and inspector settings changes
Patch Set: Ghost and inspector settings changes Created 11 years, 8 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/views/environment.js ('k') | app/views/viewlet-manager.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/views/inspector.js
=== modified file 'app/views/inspector.js'
--- app/views/inspector.js 2013-07-24 21:46:12 +0000
+++ app/views/inspector.js 2013-07-25 19:15:42 +0000
@@ -1237,13 +1237,18 @@
this.container = Y.Node.create(this.templateWrapper);
var options = model.getAttrs();
+
// XXX - Jeff
// not sure this should be done like this
// but this will allow us to use the old template.
-
options.settings = utils.extractServiceSettings(options.options);
this.container.setHTML(this.template(options));
+ this.container.all('textarea.config-field')
+ .plug(plugins.ResizingTextarea,
+ { max_height: 200,
+ min_height: 18,
+ single_line: 18});
}
}
};
« no previous file with comments | « app/views/environment.js ('k') | app/views/viewlet-manager.js » ('j') | no next file with comments »

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