Commit bd114f7e authored by Vipul Basapati's avatar Vipul Basapati

Blog slug trim issue solved

parent 378a3831
...@@ -369,7 +369,7 @@ var Backend = {}; // common variable used in all the files of the backend ...@@ -369,7 +369,7 @@ var Backend = {}; // common variable used in all the files of the backend
if (request.status >= 200 && request.status < 400) { if (request.status >= 200 && request.status < 400) {
// Success! // Success!
response = request.responseText; response = request.responseText;
Backend.Blog.selectors.slug.value = Backend.Blog.selectors.SlugUrl + '/' + response; Backend.Blog.selectors.slug.value = Backend.Blog.selectors.SlugUrl + '/' + response.trim();
} }
}, },
error: function (request) { error: function (request) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment