Author: konstantin.mishin
Date: 2010-01-12 10:59:06 -0500 (Tue, 12 Jan 2010)
New Revision: 16265
Modified:
branches/enterprise/3.3.X/ui/contextMenu/src/main/resources/org/richfaces/renderkit/html/scripts/context-menu.js
Log:
RFPL-232 should not be ported. Reverting changes.
Modified:
branches/enterprise/3.3.X/ui/contextMenu/src/main/resources/org/richfaces/renderkit/html/scripts/context-menu.js
===================================================================
---
branches/enterprise/3.3.X/ui/contextMenu/src/main/resources/org/richfaces/renderkit/html/scripts/context-menu.js 2010-01-12
15:52:20 UTC (rev 16264)
+++
branches/enterprise/3.3.X/ui/contextMenu/src/main/resources/org/richfaces/renderkit/html/scripts/context-menu.js 2010-01-12
15:59:06 UTC (rev 16265)
@@ -109,21 +109,11 @@
this.element.appendChild(div);
var html = this.evaluator.invoke('getContent', context||{}).join('');
- html = this.interpolate(html, context);
new Insertion.Top(div, html);
this.menuContent = div;
},
- interpolate: function (placeholders, context) {
- for(var k in context) {
- var v = context[k];
- var regexp = new RegExp("\\{" + k + "\\}", "g");
- placeholders = placeholders.replace(regexp, v);
- }
- return placeholders;
- },
-
destroyMenu: function() {
if (this.menuContent) {
window.RichFaces.Memory.clean(this.menuContent);
Show replies by date