1
0
Fork 0
forked from 0x2620/oxjs

make doubleclicking on non-editable annotation 'open' it, i.e. go to its in point

This commit is contained in:
rlx 2012-02-19 11:06:03 +00:00
commit 529184887a
6 changed files with 21 additions and 2 deletions

View file

@ -149,6 +149,8 @@ Ox.Editable = function(options, self) {
that.$tooltip && that.$tooltip.options({title: ''});
that.triggerEvent('edit');
}
} else if (!self.options.editable) {
that.triggerEvent('open');
}
self.options.blurred = false;
}