AnsweredAssumed Answered

Clicking on save button does not trigger custom function

Question asked by sidhu sidhu on Jul 18, 2016
Latest reply on Jul 19, 2016 by Ramana Raju Santhana

Hi All


        I was trying to trigger a custom function on clicking the save button in the accounts module using the create-actions.js file





    extendsFrom: 'CreateView',

    initialize: function(options) {

        options.meta = _.extend({}, app.metadata.getView(null, 'create-actions'), options.meta);

        this._super('initialize', [options]);['click [name="save_button"]'] = 'handleParent';


    handleParent: function()


  console.log("change Color Box");





I have also tried with

events: {

        'click [name="save_button"]': 'handleParent',     



But this is not triggering.Can you please help me with this.




Sidhu Tevfik Tümer Prashant Patel