Index: lams_central/web/ckeditor/plugins/equation/plugin.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/ckeditor/plugins/equation/Attic/plugin.js,v diff -u -r1.1 -r1.2 --- lams_central/web/ckeditor/plugins/equation/plugin.js 29 Dec 2011 18:10:14 -0000 1.1 +++ lams_central/web/ckeditor/plugins/equation/plugin.js 3 Aug 2014 14:26:37 -0000 1.2 @@ -29,7 +29,12 @@ //open a popup window when the button is clicked if (popupEqnwin==null || popupEqnwin.closed || !popupEqnwin.location) { - var url='http://latex.codecogs.com/editor_json3.php?type=url&editor=CKEditor'; + // LDEV-3281: fixing protocol + var protocol = "http:"; + if (window.location.protocol == "https:") { + var protocol = "https:"; + } + var url=protocol+'//latex.codecogs.com/editor_json3.php?type=url&editor=CKEditor'; //if(language!='') url+='&lang='+language; if(latex!==undefined)