From 7b669ca2dd286de7875fd208b6e6047c8bfd4a1e Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 18 May 2012 14:39:37 +0200 Subject: Close title editor when leaving focus if title was not yet changed. --- proto.js | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/proto.js b/proto.js index b6ecf25..5c7a1d5 100644 --- a/proto.js +++ b/proto.js @@ -67,20 +67,6 @@ function idFromStr(str) return str.substring(str.search('t') + 1, str.length); } -function getElementsByClass(searchClass, domNode, tagName) { - if (domNode == null) domNode = document; - if (tagName == null) tagName = '*'; - var el = new Array(); - var tags = domNode.getElementsByTagName(tagName); - var tcl = " "+searchClass+" "; - for(i=0,j=0; i