Skip to content

Commit c8edbf8

Browse files
fixed tr changes in js
1 parent ef354c1 commit c8edbf8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Views/dashboard_edit_view.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,11 @@ function toolboxMove(e) {
168168
}
169169
});
170170
function showError(xhr,status) {
171-
throw(new Error(tr("Could not save Dashboard. ") + status));
171+
throw(new Error(_Tr("Could not save Dashboard. ") + status));
172172
}
173173
function showSuccess() {
174-
$("#save-dashboard").attr("class","btn btn-success").text(tr("Saved"));
175-
$("#save-dashboard").attr("title",tr("Items Saved"));
174+
$("#save-dashboard").attr("class","btn btn-success").text(_Tr("Saved"));
175+
$("#save-dashboard").attr("title",_Tr("Items Saved"));
176176
lastsavecontent = $("#page").html();
177177
}
178178

0 commit comments

Comments
 (0)