Skip to content

Commit

Permalink
Merge pull request #60 from sdtabilit/SLTS-39-Add-icon-PointPropertie…
Browse files Browse the repository at this point in the history
…s-on-the-form-the-data-source

SLTS-39 Add icon PointProperties on the form the data source edit
  • Loading branch information
sdtabilit authored Oct 28, 2016
2 parents 2c630ce + f78acb6 commit 4fb4692
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions WebContent/WEB-INF/jsp/dataSourceEdit.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,17 @@
appendPointListColumnFunctions(pointListColumnHeaders, pointListColumnFunctions);
pointListColumnHeaders.push("");
pointListColumnFunctions.push(function(p) {
return writeImage("editImg"+ p.id, null, "icon_comp_edit", "<fmt:message key="common.edit"/>", "editPoint("+ p.id +")");
});
pointListColumnHeaders.push("");
pointListColumnFunctions.push(function(p) {
return writeImage("editImg"+ p.id, null, "icon_ds_edit", "<fmt:message key="common.edit"/>", "window.location='data_point_edit.shtm?dpid="+ p.id +"'");
});
var headers = $("pointListHeaders");
var td;
for (var i=0; i<pointListColumnHeaders.length; i++) {
Expand Down

0 comments on commit 4fb4692

Please sign in to comment.