Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Javascript Hooks Used In Cs-Cart 4.x Rate Topic   * * * * * 2 votes

 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1191 posts

Posted 21 March 2014 - 05:31 AM #1

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 http://docs.cs-cart....king/index.html

If i miss some please feel free to post


I hope that helps,

---
Valentin
part of hungryweb.net

 
  • pradeesh_72
  • Member
  • Trial users
  • Join Date: 15-Nov 17
  • 35 posts

Posted 12 January 2018 - 06:08 AM #2

Is there any hook for fileupload completed and file removed?