Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
Fix display of containing repositories on artifact information panel
Browse files Browse the repository at this point in the history
  • Loading branch information
nabcos authored and cstamas committed Nov 21, 2012
1 parent 4879784 commit 47bdccc
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -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++)
Expand Down

0 comments on commit 47bdccc

Please sign in to comment.