How to hide button description

Hello All,


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.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

To post to this group, send email to er...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/-G9jS9z37ToJ.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Mark,

The logic is correct, seems like a bug - we will fix it and update you.

Thanks for reporting.

best,
Rushabh


W: https://erpnext.com
T: @rushabh_mehta

On 01-May-2013, at 1:54 PM, MarkW <wa...@googlemail.com> wrote:

Hello All,

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.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/-G9jS9z37ToJ.

For more options, visit https://groups.google.com/groups/opt_out.

 

 




You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

To post to this group, send email to er...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

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.

Thanks for reporting.

best,
Rushabh


W: https://erpnext.com
T: @rushabh_mehta

On 01-May-2013, at 1:54 PM, MarkW <wa...@googlemail.com> wrote:

Hello All,

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.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/-G9jS9z37ToJ.

For more options, visit https://groups.google.com/groups/opt_out.








--



Twitter: @rushabh_mehta



You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

To post to this group, send email to er...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

thanks

 

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.

 

Thanks for reporting.

 

best,

Rushabh

 

W: https://erpnext.com
T: @rushabh_mehta

 

On 01-May-2013, at 1:54 PM, MarkW <wa...@googlemail.com> wrote:



Hello All,

 

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.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.
To post to this group, send email to er...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/-G9jS9z37ToJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

 



 

--

 

 

 

Twitter: @rushabh_mehta

--
You received this message because you are subscribed to a topic in the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/xze-6em-kb8/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un...@googlegroups.com.
To post to this group, send email to er...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.2904 / Virus Database: 3162/6290 - Release Date: 05/01/13


No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.2904 / Virus Database: 3162/6290 - Release Date: 05/01/13



You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

To post to this group, send email to er...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.