|
349 |
label: idescription, |
350 |
label: idescription, |
350 |
connectId: [ btn.domNode ] |
351 |
connectId: [ btn.domNode ] |
351 |
}); |
352 |
}); |
352 |
|
353 |
if ( iaction.onShowDescription ) { |
|
|
354 |
tooltip = dojo.mixin( tooltip, { onShow: function( target ) { iaction.onShowDescription( target, item ); } } ); |
355 |
} |
356 |
if ( iaction.onHideDescription ) { |
357 |
tooltip = dojo.mixin( tooltip, { onHide: function() { iaction.onHideDescription( item ); } } ); |
358 |
} |
353 |
// destroy the tooltip when the widget is destroyed |
359 |
// destroy the tooltip when the widget is destroyed |
354 |
tooltip.connect( btn, 'destroy', 'destroy' ); |
360 |
tooltip.connect( btn, 'destroy', 'destroy' ); |
355 |
} |
361 |
} |