laptop and a wrench

漏洞

Remove action of the Context Menu on TaskResultNode of TreeViewPlus does not remove the node on the client.

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM035736
已提交May 29, 2008
上次修改时间June 5, 2024
适用范围No Product Found
找到的版本9.3
编程语言C#
修正版本N/A
状态Fixed

解决办法

Derek on 6\29\8 - Here is a Javascript work around. A completed application is in the Test Data Path location.<script type="text/javascript" language="javascript"> var oldFunction = String(ESRI.ADF.UI.TaskResults.prototype._remove); var newFunction = oldFunction.replace('var taskContainer = document.getElementById(this.get_contentDivId());', 'var taskContainer = parent;\n if (!parent) { taskContainer = $get(this.get_contentDivId()); }'); newFunction = String.format('{0}{1}{2}', newFunction.substring(0, newFunction.length - 5), 'else { this._remove(nodeId, taskContainer.childNodes[i]); }', newFunction.substring(newFunction.length - 5)); newFunctionBody = newFunction.replace('function(nodeId) {', ''); newFunctionBody = newFunctionBody.substring(0, newFunctionBody.length - 1); ESRI.ADF.UI.TaskResults.prototype._remove = new Function('nodeId', 'parent', newFunctionBody); </script>

重现步骤

漏洞 ID: NIM035736

软件:

  • No Product Found

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项