Hide Cancel Button from UI page

sajan0192
Giga Expert

To create a Project there is a UI page named create_project

Used <g:dialog_buttons_ok_cancel ok="return makeChanges()" ok_type="button" cancel_type="button" /> this macro for showing OK and CANCEL button

Now I want to hide CANCEL button only...

Where should I hide it on Macro or on UI page and how to hide it??

1 ACCEPTED SOLUTION

Gurpreet07
Mega Sage

Hi Sajan,



Use UI Developer tool like firebug to get id of cancel button and then use css in your ui macro to hide this button like below .


<style>


#<id>{


display : none ;


}


</style>


View solution in original post

7 REPLIES 7

Hi Berny,



thanks for replying



I modified as per the given syntax.. its hiding the CANCEL button but after clicking on OK it is not creating Project



Thank you,


Sajan


 @bernyalvarado can I get the jelly script for only cancel button

 

no it's only for Ok button