felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clem...@apache.org
Subject svn commit: r963392 - /felix/trunk/ipojo/webconsole-plugin/src/main/resources/res/ui/factory_detail.js
Date Mon, 12 Jul 2010 17:44:17 GMT
Author: clement
Date: Mon Jul 12 17:44:17 2010
New Revision: 963392

URL: http://svn.apache.org/viewvc?rev=963392&view=rev
Log:
Add created instance links

Modified:
    felix/trunk/ipojo/webconsole-plugin/src/main/resources/res/ui/factory_detail.js

Modified: felix/trunk/ipojo/webconsole-plugin/src/main/resources/res/ui/factory_detail.js
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/webconsole-plugin/src/main/resources/res/ui/factory_detail.js?rev=963392&r1=963391&r2=963392&view=diff
==============================================================================
--- felix/trunk/ipojo/webconsole-plugin/src/main/resources/res/ui/factory_detail.js (original)
+++ felix/trunk/ipojo/webconsole-plugin/src/main/resources/res/ui/factory_detail.js Mon Jul
12 17:44:17 2010
@@ -104,7 +104,8 @@ function createDetail(factory) {
     if (factory.instances) {
         var list = $('<ul>');
         for (var s in factory.instances) {
-            list.append($('<li>').append(factory.instances[s]));
+            var link = $('<a href=\'' + instances_url + '/' + factory.instances[s] +'\'>'
+ factory.instances[s] + '</a>');
+            list.append($('<li>').append(link));
         }
         _.find('td.VcreatedInstances').html(list);
     } else { // Undefined



Mime
View raw message