From 08f5e28d006c7c6eadf6616f6c4527b2d36b1c92 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 6 Oct 2011 16:38:51 +0000 Subject: [PATCH] Override getPath() to push nextmatch's ID in --- etemplate/js/et2_extension_nextmatch.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etemplate/js/et2_extension_nextmatch.js b/etemplate/js/et2_extension_nextmatch.js index 1b4af83640..408fad8684 100644 --- a/etemplate/js/et2_extension_nextmatch.js +++ b/etemplate/js/et2_extension_nextmatch.js @@ -641,6 +641,12 @@ var et2_nextmatch = et2_DOMWidget.extend(et2_IResizeable, { } return null; + }, + + getPath: function() { + var path = this._super.apply(this,arguments); + if(this.id) path.push(this.id); + return path; } });