Sha256: 1dbec0142f32b53ff5f40ac5ed9c21b3dfe7c958cd4ac346dfe5a70f4f51aa4f
Contents?: true
Size: 612 Bytes
Versions: 3
Compression:
Stored size: 612 Bytes
Contents
"use strict"; // при клике по habtm кнопке "добавить", // на всякий случай, // инициализируем в появившемся на экране блоке // возможный bootstrap select picker var init_select_picker = function (){ $('.has_many_add').on('click', function (){ setTimeout(function() { $('.selectpicker').selectpicker(); }, 40); }); }; var f_edit = function (){ init_select_picker(); }; var f_new = function (){ init_select_picker(); }; C80_YAX.strsubcats = { edit: f_edit, "new": f_new };
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
c80_yax-0.1.0.4 | app/assets/javascripts/backend/strsubcats.js |
c80_yax-0.1.0.3 | app/assets/javascripts/backend/strsubcats.js |
c80_yax-0.1.0.2 | app/assets/javascripts/backend/strsubcats.js |