Enabled Site.searchbox_macro() for site owners
This commit is contained in:
parent
59e8c53efe
commit
8ecba3b16e
1 changed files with 3 additions and 1 deletions
|
@ -302,7 +302,9 @@ Site.prototype.listReferrers_macro = function(param) {
|
||||||
}
|
}
|
||||||
|
|
||||||
Site.prototype.searchbox_macro = function(param) {
|
Site.prototype.searchbox_macro = function(param) {
|
||||||
this.renderSkin("$Site#search");
|
if (this.getPermission("search")) {
|
||||||
|
this.renderSkin("Site#search");
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue