I’m playing with scripts again. I want to hide a button on a form (Client side script to hide a button · GitHub), and it works. BUT it hides the button only - if I add a field description to the button when I create it then this script leaves the description visible. Is there a way to make the description hidden too (without removing it from the button definition as I have done now)?
Regards,
MarkW
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
I'm playing with scripts again. I want to hide a button on a form (https://gist.github.com/GreyMark7650/5494306), and it works. BUT it hides the button only - if I add a field description to the button when I create it then this script leaves the description visible. Is there a way to make the description hidden too (without removing it from the button definition as I have done now)?
Regards,
MarkW
–
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
I'm playing with scripts again. I want to hide a button on a form (https://gist.github.com/GreyMark7650/5494306), and it works. BUT it hides the button only - if I add a field description to the button when I create it then this script leaves the description visible. Is there a way to make the description hidden too (without removing it from the button definition as I have done now)?
Regards,
MarkW
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
From: er...@googlegroups.com [mailto:er...@googlegroups.com] On Behalf Of Rushabh Mehta Sent: 02 May 2013 09:54 To: er...@googlegroups.com Subject: Re: [erpnext-dev] How to hide button description
Mark,
This issue has been fixed.
- Rushabh
On Wed, May 1, 2013 at 2:17 PM, Rushabh Mehta <rm...@gmail.com> wrote:
Mark,
The logic is correct, seems like a bug - we will fix it and update you.
I'm playing with scripts again. I want to hide a button on a form (https://gist.github.com/GreyMark7650/5494306), and it works. BUT it hides the button only - if I add a field description to the button when I create it then this script leaves the description visible. Is there a way to make the description hidden too (without removing it from the button definition as I have done now)?