1
0
Fork 0
forked from 0x2620/oxjs

minor changes

This commit is contained in:
rlx 2012-01-17 23:26:26 +05:30
commit 1bf1eae034
5 changed files with 25 additions and 16 deletions

View file

@ -46,7 +46,11 @@ Ox.MapRectangle = function(options, self) {
setOptions();
function click() {
if (that.map.options('editable') && that.place.editable && !that.place.editing) {
if (
that.map.options('editable')
&& that.place.editable
&& !that.place.editing
) {
that.place.edit();
} else if (that.map.getKey() == 'meta') {
that.place.submit();