Changeset 1272


Ignore:
Timestamp:
11/17/10 04:08:18 (7 years ago)
Author:
ejucovy
Message:

instead of hijacking the inserttable button action, we define editor._insertTable, and let xinha core do the rest. closes #1556

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/InsertTable/insert_table.js

    r1085 r1272  
    3939        var self = this; 
    4040 
    41         editor.config.btnList.inserttable[3] = function() { self.show(); } 
    42       } 
     41        if(typeof editor._insertTable == 'undefined') { 
     42            editor._insertTable = function() { 
     43                self.show(); 
     44            } 
     45        } 
     46} 
    4347 
    4448InsertTable.prototype._lc = function(string) { 
Note: See TracChangeset for help on using the changeset viewer.