Fixes issue 72: Duplicate tree entries and emtpy main view.

This commit is contained in:
Lars Jung 2012-07-15 18:58:10 +02:00
parent b6d6bf8ba7
commit 17c31fc9d9
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
modulejs.define('model/entry', ['_', 'core/types', 'core/ajax'], function (_, types, ajax) {
var domain = document.domain,
location = document.location.pathname.replace(/[^\/]*$/, ''),
location = document.location.href.replace(/^.*:\/\/[^\/]*/, '').replace(/[^\/]*$/, ''),
// utils