Re: Enable/Disable save button in the frmQuery.

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Vinicius Santos <vinicius(dot)santos(dot)lista(at)gmail(dot)com>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Enable/Disable save button in the frmQuery.
Date: 2011-08-07 12:34:39
Message-ID: 1312720479.1994.19.camel@laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Sat, 2011-08-06 at 19:16 -0300, Vinicius Santos wrote:
> Hello,
>
> I believe that when you save a document in the form "frmQuery", the
> "Save" button should be disabled to become more obvious to the user that
> the document contains no changes.
>
> When user change the document, the button is enabled again.
>
> As with some text editors.
>
> I know that in this case, the title appears with an asterisk, but I
> think it would be better as well.
>
> What do you think?

I agree with you. The Save button should be disabled unless there were
some changes since last save.

> I have a patch for this.
>

You're welcome to send it there. It should apply cleanly on the master
branch.

--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Vinicius Santos 2011-08-07 15:47:08 Re: Enable/Disable save button in the frmQuery.
Previous Message Vinicius Santos 2011-08-06 22:16:06 Enable/Disable save button in the frmQuery.