Fixed FELIX-2285 /Bundles Plugin doesn't render the bundles name in IE/
https://issues.apache.org/jira/browse/FELIX-2285
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@934329 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/resources/res/ui/bundles.css b/webconsole/src/main/resources/res/ui/bundles.css
index 30430e3..a4f391b 100644
--- a/webconsole/src/main/resources/res/ui/bundles.css
+++ b/webconsole/src/main/resources/res/ui/bundles.css
@@ -29,3 +29,5 @@
.symName:before { content: " (" }
.symName:after { content: ")" }
.filterClear { display: inline-block; vertical-align: middle }
+.bIcon, .bName { display: inline-block }
+.bIcon { float: left }
\ No newline at end of file
diff --git a/webconsole/src/main/resources/res/ui/bundles.js b/webconsole/src/main/resources/res/ui/bundles.js
index 6cb010e..1dee034 100644
--- a/webconsole/src/main/resources/res/ui/bundles.js
+++ b/webconsole/src/main/resources/res/ui/bundles.js
@@ -72,8 +72,8 @@
tr.attr('id', 'entry'+id);
tr.find('td:eq(0)').text(id);
- tr.find('td:eq(1) span:eq(0)').attr('id', 'img'+id).click(function() {showDetails(id)});
- tr.find('td:eq(1) span:eq(1)').html( drawDetails ? name : '<a href="' + pluginRoot + '/' + id + '">' + name + '</a>' );
+ tr.find('.bIcon').attr('id', 'img'+id).click(function() {showDetails(id)});
+ tr.find('.bName').html( drawDetails ? name : '<a href="' + pluginRoot + '/' + id + '">' + name + '</a>' );
tr.find('td:eq(2)').text( bundle.version );
tr.find('td:eq(3)').text( bundle.category );
if (id == 0) { // system bundle has no actions
@@ -252,7 +252,7 @@
0: { sorter:"digit" },
5: { sorter: false }
},
- textExtraction:mixedLinksExtraction,
+ textExtraction:mixedLinksExtraction
}).bind("sortEnd", function() {
var t = bundlesTable.eq(0).attr("config");
if (t.sortList) $.cookies.set("webconsolebundlelist", t.sortList);
diff --git a/webconsole/src/main/resources/templates/bundles.html b/webconsole/src/main/resources/templates/bundles.html
index 3ec8bb0..908a0e9 100644
--- a/webconsole/src/main/resources/templates/bundles.html
+++ b/webconsole/src/main/resources/templates/bundles.html
@@ -80,8 +80,8 @@
<tr><!-- template -->
<td> </td><!-- ID -->
<td>
- <span class="ui-icon ui-icon-triangle-1-e" style="display: inline-block" title="Show Details"> </span>
- <span> </span> <!-- here goest bundle name/link -->
+ <div class="bIcon ui-icon ui-icon-triangle-1-e" title="Show Details"> </div>
+ <div class="bName"> </div> <!-- here goest bundle name/link -->
</td>
<td> </td><!-- version -->
<td> </td><!-- symbolic name -->