diff options
Diffstat (limited to 'indra/newview/llscripteditorws.cpp')
| -rw-r--r-- | indra/newview/llscripteditorws.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llscripteditorws.cpp b/indra/newview/llscripteditorws.cpp index cecac23383..814157e86c 100644 --- a/indra/newview/llscripteditorws.cpp +++ b/indra/newview/llscripteditorws.cpp @@ -334,12 +334,12 @@ LLSD LLScriptEditorWSServer::handleSyntaxRequest(const LLSD& params) const if (category == "defs.lua") { response["defs"] = LLSyntaxLua::instance().getTypesXML(); - response["success"] = true; + response["success"] = response["defs"].isDefined(); } else if (category == "defs.lsl") { response["defs"] = LLSyntaxIdLSL::instance().getKeywordsXML(); - response["success"] = true; + response["success"] = response["defs"].isDefined(); } else { |
