FELIX-738 Replace "Update" button by "Refresh" button on the bundles page
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@728679 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/resources/res/ui/datatable.js b/webconsole/src/main/resources/res/ui/datatable.js
index 65c981b..fe87b98 100644
--- a/webconsole/src/main/resources/res/ui/datatable.js
+++ b/webconsole/src/main/resources/res/ui/datatable.js
@@ -134,12 +134,12 @@
for ( var aidx in dataEntry.actions )
{
var action = dataEntry.actions[aidx];
- parent.appendChild( actionButton( action.enabled, id, action.link, action.name ) );
+ parent.appendChild( actionButton( action.enabled, id, action.link, action.name, action.title ) );
}
}
-/* Element */ function actionButton( /* boolean */ enabled, /* long */ id, /* String */ op, /* String */ opLabel )
+/* Element */ function actionButton( /* boolean */ enabled, /* long */ id, /* String */ op, /* String */ opLabel, /* String */ title )
{
var buttonTd = td( "content", { align: "right" } );
if ( op )
@@ -153,6 +153,10 @@
{
input.setAttribute( "disabled", true );
}
+ if (title)
+ {
+ input.setAttribute( "title", title );
+ }
buttonTd.appendChild( input );
}
else