Javascript Hooks Used In Cs-Cart 4.x

Dear Friends,

JavaScript Hooks can be used to develop an add-on

ce.formpre_ + [FORM_NAME]
ce.form_confirm
ce.formpost_ + [FORM_NAME]
ce.formajaxpost_ + [FORM_NAME]
ce.ajaxdone
ce.ajax_callback_ + [NAME]
ce.switch_ + [ID]
ce.commoninit
ce.loadershow
ce.scrolltoelm
ce.picker_js_action_ + [TARGET_ID]
ce.dialogshow
ce.colorpicker.hide
ce.colorpicker.show
ce.notificationshow




and you can hook with the code bellow
$.ceEvent('on', 'ce.ajaxdone', function(data){
/* MY CODE */
});




I think are not the final hooks becouse are missing from [url=“Hooking — CS-Cart 4.1.x documentation”]http://docs.cs-cart.com/4.1.x/addons/hooking/index.html[/url]



If i miss some please feel free to post





I hope that helps,





Valentin

[color=#808080][size=2]part of hungryweb.net[/size][/color]

Is there any hook for fileupload completed and file removed?