Community
Participate
Working Groups
See http://dev.eclipse.org/mhonarc/lists/epf-dev/msg03810.html
Save causes "NetworkError: 404 Not Found - http://192.168.1.10:3000/publish.all_epf_practices.base/guidances/supportingmaterials/resources/practices.jpg" Checkin causes formObj is null formObj.action = '/pages/checkin'; undo checkout causes formObj formObj.action = '/pages/undocheckout';
This is the piece of code that is not working. In full screen TinyMCE changes the DOM and then the form cannot be found by this code. So formObj becomes nil and save/checking fails with a Javascript error. _checkin : function() { var inst = tinyMCE.selectedInstance; var ed = this.editor, formObj, os, i, elementId; formObj = tinymce.DOM.get(ed.id).form || tinymce.DOM.getParent(ed.id, 'form'); if (confirm('Save and check-in the current document?')) { formObj.action = '/pages/checkin'; inst.execCommand('epfwikiSave'); } return true; },