More refactorings.

This commit is contained in:
Lars Jung 2014-05-18 00:10:38 +02:00
parent c40fac67d0
commit fc9f846cb5
13 changed files with 248 additions and 212 deletions

View file

@ -5,9 +5,9 @@ modulejs.define('ext/custom', ['_', '$', 'core/settings', 'core/server', 'core/e
enabled: false
}, allsettings.custom),
onLocationChanged = function () {
onLocationChanged = function (item) {
server.request({action: 'get', custom: true}, function (response) {
server.request({action: 'get', custom: true, customHref: item.absHref}, function (response) {
var h, f;
if (response) {