- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2015 02:08 AM
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??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2015 10:57 PM
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>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2015 10:57 PM
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>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2015 03:14 AM
Hi Gurpeet,
I tried with firebug....not able to find id of CANCEL button...
Can you please tell where I will find the id of CANCEL button
I copied the id from macro id="${jvar_cancel_id}"...dont know whether it is correct or not.
Thanks,
Sajan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2015 03:22 AM
DONE...it worked...
Thank you...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2015 11:34 PM
Hi Sajan,
If you only want the OK then you can use the following:
<g:dialog_button_ok ok="return makeChanges()" ok_type="button" />
Thanks,
Berny