Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8644

Re: Approve/Reject button type color not displayed

$
0
0

Are you using the extension "extHookChangeFooterButtons". in S3 custom controller (extension of S3 controller). Following should be enough.

 

extHookChangeFooterButtons: function(oButtonList) {

 

oButtonList.oPositiveAction =

{

                                        sid: "XBUT_APPROVE",

                                        text: "Approve",

                                        type: "Accept",

                                        enabled: true,

                                        onBtnPressed: function (evt) {

                                                  this.handleApproveEvent();

 

                              }

                                  

 

};

 

oButtonList.oNegativeAction  =  {

                                        sid: "XBUT_REJECT",

                                        text: "Reject",

                                        type: "Reject",

                                        enabled: true,

                                        onBtnPressed: function(evt) {

                                        this.handleRejectEvent();

 

               }

 

 

};

}

 

Regards,

Sarbjeet Singh


Viewing all articles
Browse latest Browse all 8644

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>