Bug 1016372 - Bug: Comments are not greyed out unless hash is at beginning of line
Summary: Bug: Comments are not greyed out unless hash is at beginning of line
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: Web-UI
Version: 1.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 1.2
Assignee: Lee Newson
QA Contact: Misha H. Ali
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-08 04:28 UTC by Misha H. Ali
Modified: 2013-10-17 23:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-17 23:45:03 UTC


Attachments (Terms of Use)
Commented out lines (17.79 KB, image/png)
2013-10-08 04:28 UTC, Misha H. Ali
no flags Details

Description Misha H. Ali 2013-10-08 04:28:03 UTC
Created attachment 809066 [details]
Commented out lines

Description of problem:

Not sure if this is a bug or by design, but commenting out a CSP map line in the CCMS UI should grey out the line, no matter where the # is, as long as it is before the contents of that line.

For example, the two lines commented out here should be greyed out.

# Section: New Name
#   New Topic [1223]

And the same should happen to these lines:

  # Section: Another Section
    # Some Other Topic [3434]

However, the latter does not grey out at all. See screenshot for how this looks at the moment.

Comment 1 Lee Newson 2013-10-08 04:32:37 UTC
Fixed in 1.2-SNAPSHOT build 201309100946

This has was actually fixed quite some time ago and is currently live in PressGang Next.

Comment 3 Misha H. Ali 2013-10-08 04:36:32 UTC
Waiting for the specified build to be pushed live to verify. And ACK on report a bug link.

Comment 4 Misha H. Ali 2013-10-08 04:42:53 UTC
Verified in CCMS Next. Commenting out content works as expected.

Comment 5 Lee Newson 2013-10-08 04:45:33 UTC
Thanks Misha, moving to RELEASE_PENDING until 1.2 is released.

Comment 6 Matthew Casperson 2013-10-14 23:48:46 UTC
Confirmed that comments with tabs, spaces, and a combination of both are still highlighted as comments.


Note You need to log in before you can comment on or make changes to this bug.