Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(16864)

Issue 13368051: hide and show save controls

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by gary.poster
Modified:
10 years, 7 months ago
Reviewers:
benjamin.saller, mp+184688
Visibility:
Public.

Description

hide and show save controls In the inspector, controls to save values are hidden when there are no changes, and revealed when there are. Changes can come from saving the form or from simply manually reverting values. This also changes the "modified" asterisk to be removed when the user manually reverts values. https://code.launchpad.net/~gary/juju-gui/peekabooInspectorSave/+merge/184688 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 1

Patch Set 2 : hide and show save controls #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -37 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M app/templates/service-configuration.handlebars View 1 chunk +10 lines, -0 lines 0 comments Download
M app/templates/service-configuration.partial View 1 chunk +0 lines, -10 lines 0 comments Download
M app/templates/service-constraints-viewlet.handlebars View 1 chunk +9 lines, -5 lines 0 comments Download
M app/views/databinding.js View 1 3 chunks +5 lines, -2 lines 0 comments Download
M app/views/inspector.js View 1 2 chunks +8 lines, -4 lines 0 comments Download
M lib/views/juju-inspector.less View 1 4 chunks +20 lines, -13 lines 0 comments Download
M test/test_databinding.js View 1 2 chunks +7 lines, -3 lines 0 comments Download
M test/test_inspector_constraints.js View 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 3
gary.poster
Please take a look.
10 years, 7 months ago (2013-09-09 21:15:17 UTC) #1
benjamin.saller
Code LGTM QA minors should the cancel button in the save dialog reset the form? ...
10 years, 7 months ago (2013-09-10 16:41:31 UTC) #2
gary.poster
10 years, 7 months ago (2013-09-10 19:26:09 UTC) #3
*** Submitted:

hide and show save controls

In the inspector, controls to save values are hidden when there are no changes,
and revealed when there are.  Changes can come from saving the form or from
simply manually reverting values.

This also changes the "modified" asterisk to be removed when the user manually
reverts values.

R=benjamin.saller
CC=
https://codereview.appspot.com/13368051
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b