X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/1617abdf1a5ec504c28f52daf2a2b1728a5b28f6..b899f6803da3511d0658b14458b7b05f6743be6a:/platforma/static/js/button_scripts.js?ds=sidebyside diff --git a/platforma/static/js/button_scripts.js b/platforma/static/js/button_scripts.js old mode 100755 new mode 100644 index 4f93d9bd..fe1c4ecd --- a/platforma/static/js/button_scripts.js +++ b/platforma/static/js/button_scripts.js @@ -122,19 +122,6 @@ function ScriptletCenter() } }.bind(this); - this.scriptlets['codemirror_fontsize'] = function(context, params) { - var frameBody = this.XMLEditorBody(context); - - if(params.fontSize) { - frameBody.css('font-size', params.fontSize); - } - else { - var old_size = parseInt(frameBody.css('font-size'), 10); - frameBody.css('font-size', old_size + (params.change || 0) ); - } - - }.bind(this); - this.scriptlets['fulltextregexp'] = function(context, params) { var exprs = $.map(params.exprs, function(expr) { var opts = "mg";