From 3b85ad7a7fdee3e5f0e0772bb5b7a3ece2f7f0cb Mon Sep 17 00:00:00 2001 From: Tom Morris Date: Tue, 20 Nov 2012 16:02:20 -0500 Subject: [PATCH] Fix up a couple more absolute (or wrong) paths --- .../modules/core/scripts/views/data-table/data-table-view.js | 4 ++-- main/webapp/modules/core/styles/common.less | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main/webapp/modules/core/scripts/views/data-table/data-table-view.js b/main/webapp/modules/core/scripts/views/data-table/data-table-view.js index 5a13aa1b5..d90092ad3 100644 --- a/main/webapp/modules/core/scripts/views/data-table/data-table-view.js +++ b/main/webapp/modules/core/scripts/views/data-table/data-table-view.js @@ -146,7 +146,7 @@ DataTableView.prototype._renderSortingControls = function(sortingControls) { $('') .addClass("action") .text("Sort ") - .append($('').attr("src", "/images/down-arrow.png")) + .append($('').attr("src", "../images/down-arrow.png")) .appendTo(sortingControls) .click(function() { self._createSortingMenu(this); @@ -230,7 +230,7 @@ DataTableView.prototype._renderDataTables = function(table, headerTable) { } else { for (var k = 0; k < keys.length; k++) { if (c == keys[k]) { - $('').attr("src", "images/down-arrow.png").appendTo(td); + $('').attr("src", "../images/down-arrow.png").appendTo(td); break; } } diff --git a/main/webapp/modules/core/styles/common.less b/main/webapp/modules/core/styles/common.less index a0794af11..9beccc81f 100644 --- a/main/webapp/modules/core/styles/common.less +++ b/main/webapp/modules/core/styles/common.less @@ -162,7 +162,7 @@ a img { } .button-menu, a.button-menu { - background: url(images/down-arrow.png) no-repeat right 6px; + background: url(../images/down-arrow.png) no-repeat right 6px; padding-right: 12px; }