Fixing that the trailing slash was not cut from the baseUrl in Content Picker

--HG--
branch : 1.x
This commit is contained in:
Piedone
2012-10-17 21:07:49 +02:00
parent f98221d773
commit 853e46129a

View File

@@ -19,7 +19,7 @@
// remove trailing slash if any
if (baseUrl.substr(-1) == '/')
baseUrl.substr(0, baseUrl.length - 1);
baseUrl = baseUrl.substr(0, baseUrl.length - 1);
var url = baseUrl
+ "/Admin/Orchard.ContentPicker?"