Commit a4f5b2db authored by catch's avatar catch

Issue #2604038 by heykarthikwithu: Views module's "base.js" function...

Issue #2604038 by heykarthikwithu: Views module's "base.js" function "Drupal.Views.parseViewArgs", Local variable 'args' is redundant
parent f5b38deb
......@@ -55,8 +55,7 @@
var path = Drupal.Views.getPath(href);
// Ensure we have a correct path.
if (viewPath && path.substring(0, viewPath.length + 1) === viewPath + '/') {
var args = decodeURIComponent(path.substring(viewPath.length + 1, path.length));
returnObj.view_args = args;
returnObj.view_args = decodeURIComponent(path.substring(viewPath.length + 1, path.length));
returnObj.view_path = path;
}
return returnObj;
......
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