mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-03 12:03:51 +08:00
Fixing that the trailing slash was not cut from the baseUrl in Content Picker
--HG-- branch : 1.x
This commit is contained in:
@@ -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?"
|
||||
|
||||
Reference in New Issue
Block a user