HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/PvdBoogaard/indoorski.nl/wwwroot/wp-content/plugins/maxbuttons/js/tinymce.js
(function() {
     /* Register the buttons */
     tinymce.create('tinymce.plugins.maxButtons', {
          init : function(ed, url) {
               /**
               * Inserts shortcode content
               */
               ed.addButton( 'maxbutton', {
                    title : 'Insert MaxButton',
                    image : (typeof mbtrans !== 'undefined') ? mbtrans.icon : null,
                    onclick : function() {
                        var mm = new window.maxFoundry.maxMedia();
                 				mm.init();
                 				mm.openModal();
                    }
               });
          },
          createControl : function(n, cm) {
               return null;
          },
     });
     /* Start the buttons */
     tinymce.PluginManager.add( 'maxButtons_tinymce', tinymce.plugins.maxButtons );
})();