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

Issue 8883048: Fix small issue with exposed rendering

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years ago by gary.poster
Modified:
11 years ago
Reviewers:
mp+160244
Visibility:
Public.

Description

Fix small issue with exposed rendering If a service was already exposed when the GUI started, trying to unexpose it would not change the visual representation. This was because we were rendering multiple instances of the exposed icon per service block, unnecessarily, and not always removing all of the ones we needed to. Now we simply only add a single exposed icon at a time. https://code.launchpad.net/~gary/juju-gui/exposed/+merge/160244 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Fix small issue with exposed rendering #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M app/views/topology/service.js View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 2
gary.poster
Please take a look.
11 years ago (2013-04-23 01:03:01 UTC) #1
gary.poster
11 years ago (2013-04-23 01:10:30 UTC) #2
*** Submitted:

Fix small issue with exposed rendering

If a service was already exposed when the GUI started, trying to unexpose it
would not change the visual representation.  This was because we were rendering
multiple instances of the exposed icon per service block, unnecessarily, and not
always removing all of the ones we needed to.  Now we simply only add a single
exposed icon at a time.

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

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