Изменено
@ -1783,6 +1783,7 @@
this.$buttonCreate.on("click", this._onButtonCreate.bind(self));
this._fillOptionsData();
this._bindEvents();
this.$searchInput.attr("placeholder", 'Создать/Выбрать объект');
}
}, {
key: 'getData',
@ -175,7 +175,7 @@
sb_realty_top.hide();
} else {
var id = window.location.hash.replace("#", "");
sb_realty_top.setElementById(id);
if (id) sb_realty_top.setElementById(id);
});
select_realty.on("add", function (args) {
@ -1823,6 +1823,7 @@
@ -114,7 +114,7 @@ $(function () {
sb_realty_top.hide()
}else{
let id = window.location.hash.replace("#", "");
select_realty.on("add", (args)=> {
@ -44,7 +44,6 @@ export default class SelectOrCreate extends AbsBaseSelect {
setLinkBoxes(boxes = []) {
this.boxes = boxes;
_buildComponents(data) {
super._buildComponents(data);
const self = this;
@ -58,6 +57,7 @@ export default class SelectOrCreate extends AbsBaseSelect {
this.$searchInput.attr("placeholder", 'Создать/Выбрать объект')
getData(url, data = {}) {