|
Lines 171-178
function BindPluginEvents(data) {
Link Here
|
| 171 |
// the events for the plugin |
171 |
// the events for the plugin |
| 172 |
// when we append, this code does not get executed anymore; so we do it here |
172 |
// when we append, this code does not get executed anymore; so we do it here |
| 173 |
var events= data.match(/BindEventstag_\d+_subfield_._\d+/g); |
173 |
var events= data.match(/BindEventstag_\d+_subfield_._\d+/g); |
| 174 |
var i; |
174 |
if ( events == null ) return; |
| 175 |
for(i=0; i<events.length; i++) { |
175 |
for(var i=0; i<events.length; i++) { |
| 176 |
window[events[i]](); |
176 |
window[events[i]](); |
| 177 |
if( i<events.length-1 && events[i]==events[i+1] ) { i++; } |
177 |
if( i<events.length-1 && events[i]==events[i+1] ) { i++; } |
| 178 |
// normally we find the function name twice |
178 |
// normally we find the function name twice |
| 179 |
- |
|
|