* adjust comment format for onlybody feature.

This commit is contained in:
wangchunsheng
2012-09-02 08:57:13 +00:00
parent 4a9027e531
commit e3502ab203
+1 -1
View File
@@ -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';