From 4622f1d4775af6db4aeaf75d8cf52a7b93feebe1 Mon Sep 17 00:00:00 2001 From: riccardo Date: Tue, 10 May 2011 20:28:54 +0200 Subject: [PATCH] minor changes (update divmarker focus) --- telemeta/htdocs/timeside/src/divmarker.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/telemeta/htdocs/timeside/src/divmarker.js b/telemeta/htdocs/timeside/src/divmarker.js index d193c542..038d1217 100644 --- a/telemeta/htdocs/timeside/src/divmarker.js +++ b/telemeta/htdocs/timeside/src/divmarker.js @@ -147,14 +147,14 @@ var MarkerMapDiv = TimesideArray.extend({ //div.attr('id','_markerdiv'+index); div.find('.ts-marker').html(index+1); var me = this; -// div.find('.markersdivDescription').unbind('focus').focus(function(){ -// me.setFocus(index,true); -// me.fire('focus', {'index': index}); -// }); -// div.find('.markersdivTitle').unbind('focus').focus(function(){ -// me.setFocus(index,true); -// me.fire('focus', {'index': index}); -// }); + div.find('.markersdivDescription').unbind('focus').focus(function(){ + me.setFocus(index,true); + me.fire('focus', {'index': index}); + }); + div.find('.markersdivTitle').unbind('focus').focus(function(){ + me.setFocus(index,true); + me.fire('focus', {'index': index}); + }); div.find('.markersdivEdit').unbind('click').click( function(){ me.setEditMode(index); return false; //avoid scrolling of the page on anchor click -- 2.39.5