Changeset 873 for trunk/plugins/Equation


Ignore:
Timestamp:
08/06/07 15:20:02 (12 years ago)
Author:
ray
Message:

added new hook 'onBeforeSubmit' for firePluginEvent()

Location:
trunk/plugins/Equation
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/Equation/ASCIIMathML.js

    r677 r873  
    895895  document.write("<object id=\"mathplayer\"\ 
    896896  classid=\"clsid:32F66A20-7614-11D4-BD11-00104BD3F987\"></object>"); 
    897   document.write("<?import namespace=\"m\" implementation=\"#mathplayer\"?>"); 
     897  document.write("<"+"?import namespace=\"m\" implementation=\"#mathplayer\"?>"); 
    898898} 
    899899 
  • trunk/plugins/Equation/equation.js

    r681 r873  
    5656                                } 
    5757                        ); 
    58         Xinha.prependDom0Event (editor._textArea.form,'submit',function () {self.unParse();self.reParse = true}); 
     58        this.onBeforeSubmit = function () {debugger;self.unParse();self.reParse = true}; 
    5959        } 
    6060         
Note: See TracChangeset for help on using the changeset viewer.