* adjust comment format for onlybody feature.
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ function createLink(moduleName, methodName, vars, viewType)
|
||||
if(vars) for(i = 0; i < vars.length; i ++) link += '&' + vars[i][0] + '=' + vars[i][1];
|
||||
}
|
||||
|
||||
//if page has onlybody param then add this param in all link. the param hide header and footer.
|
||||
/* if page has onlybody param then add this param in all link. the param hide header and footer. */
|
||||
if(onlybody == 'yes')
|
||||
{
|
||||
var onlybody = config.requestType == 'PATH_INFO' ? "?onlybody=yes" : '&onlybody=yes';
|
||||
|
||||
Reference in New Issue
Block a user