Sha256: 543c4056b3b3417df3e0a48ebb65c7b9df0189d5b8bc1000cc37e2079645fc20
Contents?: true
Size: 581 Bytes
Versions: 35
Compression:
Stored size: 581 Bytes
Contents
"use strict"; function CancelRemoveButton() { var _map = null; var _this = this; _this.el = null; _this.onClick = function (e) { if (_this.el.hasClass('disabled')) return; e.preventDefault(); //console.log("<CancelRemoveButton.onClick> Выходим из режима удаления полигона."); _map.setMode('editing'); }; _this.init = function (button_css_selector, link_to_map) { _map = link_to_map; _this.el = $(button_css_selector); _this.el.on('click', _this.onClick); }; }
Version data entries
35 entries across 35 versions & 1 rubygems