Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2454 from darkdarkdragon/develop-myorders-fix
Browse files Browse the repository at this point in the history
[FIX] fix my orders template loading
  • Loading branch information
mrajvanshy committed Apr 29, 2015
2 parents 41a14eb + 2fadfab commit d38072a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/controllers/app.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ function AppCtrl ($scope, id, net, keychain, txQueue, appManager, rpTracker,
// load strings from jade template
$templateRequest('templates/' + lang + '/strings/myOrders.html', true).then(function(ordersStringsHtml) {
_.each($scope.ordersSortFieldChoices, function(element, index) {
var localisedNameText = ordersStringsHtml.find('#' + element.value).text();
var localisedNameText = $(ordersStringsHtml).find('#' + element.value).text();
element.name = localisedNameText;
});
});
Expand Down

0 comments on commit d38072a

Please sign in to comment.