Syntaxe incomprise avec click
Bonsoir,
Je me retrouve avec le code suivant :
Code:
1 2 3 4 5 6 7 8
|
// "add-to-dropbox" event
.find('.hierarchical-select .add-to-dropbox').unbind().click(function(_hsid) {
return function() {
Drupal.HierarchicalSelect.update(_hsid, 'add-to-dropbox', { opString : addOpString });
return false; // Prevent the browser from POSTing the page.
};
}(hsid)).end() |
Et en fait je ne comprends vraiment pas ce que représente le (hsid) de la dernière ligne (avec .end()) ... pouvez-vous m'éclairer s'il vous plait ?
Merci d'avance pour votre aide.
Bien cordialement,
Kaory