fix(Server Script): open docs URL in new tab (#33982)
This commit is contained in:
parent
a3d6c767b3
commit
b7b34196bc
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ def safe_exec(
|
|||
if not is_safe_exec_enabled():
|
||||
msg = _("Server Scripts are disabled. Please enable server scripts from bench configuration.")
|
||||
docs_cta = _("Read the documentation to know more")
|
||||
msg += f"<br><a href='https://frappeframework.com/docs/user/en/desk/scripting/server-script'>{docs_cta}</a>"
|
||||
msg += f"<br><a href='https://frappeframework.com/docs/user/en/desk/scripting/server-script' target='_blank' rel='noopener noreferrer'>{docs_cta}</a>"
|
||||
frappe.throw(msg, ServerScriptNotEnabled, title="Server Scripts Disabled")
|
||||
|
||||
# build globals
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue