Permalink
Browse files

Fix display of containing repositories on artifact information panel

  • Loading branch information...
nabcos authored and cstamas committed Nov 13, 2012
1 parent 4879784 commit 47bdcccf3404ed3e172a261d854c78c3433407b2
@@ -12,6 +12,13 @@
*/
Ext.form.RepositoryUrlDisplayField = Ext.extend(Ext.form.DisplayField, {
setValue : function(repositories) {
+ if (typeof repositories === 'string') {
+ // display value was already set when field was not visible - repositories already
+ // contains the raw value.
+ this.setRawValue(repositories);
+ return this;
+ }
+
var links = '';
for (var i = 0; i < repositories.length; i++)

0 comments on commit 47bdccc

Please sign in to comment.