github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2015-05-24 05:06 pm

[dreamwidth/dw-free] 9afa86: Preserve sticky-entry value when module unloaded

Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 9afa86bb8a7b7eaed29a6d224af97bf72abb9540
https://github.com/dreamwidth/dw-free/commit/9afa86bb8a7b7eaed29a6d224af97bf72abb9540
Author: Woggy <woggy@dreamwidth.org>
Date: 2015-05-24 (Sun, 24 May 2015)

Changed paths:
M cgi-bin/DW/Controller/Entry.pm
M views/entry/module-sticky.tt

Log Message:
-----------
Preserve sticky-entry value when module unloaded

Before, there was no way to distinguish between "user left checkbox
unticked" and "checkbox doesn't exist" for the sticky-entry checkbox,
resulting in formerly-sticky entries losing their status. This fix
wraps the remove logic in another if statement, so that it will only
perform the remove if the checkbox existed to be unticked.

Fixes #1343


Commit: 64c2dcfb6cae412478bf0fae49522f0c89600602
https://github.com/dreamwidth/dw-free/commit/64c2dcfb6cae412478bf0fae49522f0c89600602
Author: Afuna <afuna@users.noreply.github.com>
Date: 2015-05-24 (Sun, 24 May 2015)

Changed paths:
M cgi-bin/DW/Controller/Entry.pm
M views/entry/module-sticky.tt

Log Message:
-----------
Merge pull request #1396 from woggy/1343-stickysticky

Preserve sticky-entry value when module unloaded


Compare: https://github.com/dreamwidth/dw-free/compare/505351ecfe3e...64c2dcfb6cae