* Fix bug that prevents non-global filters to work.

This commit is contained in:
hns 2007-03-16 06:11:17 +00:00
parent 18f79fd12a
commit 3020e80650

View file

@ -669,7 +669,7 @@ public final class Skin {
handlerObject = resolvePath(handlerObject, reval); handlerObject = resolvePath(handlerObject, reval);
} }
String funcName = name + "_filter"; String funcName = path[path.length - 1] + "_filter";
if (reval.scriptingEngine.hasFunction(handlerObject, funcName)) { if (reval.scriptingEngine.hasFunction(handlerObject, funcName)) {
// pass a clone/copy of the parameter map so if the script changes it, // pass a clone/copy of the parameter map so if the script changes it,