HEX
Server: Apache/2.4.37 (AlmaLinux) mpm-itk/2.4.7-04 OpenSSL/1.1.1k PHP/7.2.24
System: Linux cp.iqhost.ru 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User: iq22073873 (6195)
PHP: 7.2.24
Disabled: NONE
Upload Files
File: /var/www/iq22073873/data/www/bckln.ru/wp-content/themes/dt-the7/inc/shortcodes/js/vc-custom-view.js
(function ($) {

  window.InlineShortcodeView_vc_column_text = window.InlineShortcodeView.extend({
      initialize: function(options) {
        window.InlineShortcodeView_vc_column_text.__super__.initialize.call(this, options);
        _.bindAll(this, 'setupEditor', 'updateContent');
      },
      setupEditor: function(ed) {
        ed.on('keyup', this.updateContent)
      },
      updateContent: function() {
        var params = this.model.get('params');
        params.content = tinyMCE.activeEditor.getContent();
        this.model.save({params: params}, {silent: true});
      },
      render: function() {
        window.InlineShortcodeView_vc_column_text.__super__.render.call(this);

        vc.frame_window.vc_iframe.addActivity(function(){
          // this.createSocIcons();
        });

        return this;
      },
      parentChanged: function() {
        // vc.frame_window.createSocIcons();
      }
  });

})(window.jQuery);