github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2012-09-30 09:00 pm

[dreamwidth/dw-free] d1b7b5: (Bug 2524) Only remember value if user did the sel...

Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: d1b7b5faef96cfea47599f215fdc9f734ce7443e
https://github.com/dreamwidth/dw-free/commit/d1b7b5faef96cfea47599f215fdc9f734ce7443e
Author: Afuna <fu@dreamwidth.org>
Date: 2012-09-25 (Tue, 25 Sep 2012)

Changed paths:
M htdocs/js/jquery.postform.js

Log Message:
-----------
(Bug 2524) Only remember value if user did the selecting

Handles this case:

- Set your journal to a minsecurity of "Private"
- Go to make a new post
- Pick any community that has a lesser minsecurity (anyone, members)
- Security of post will remain "Private" instead of that comm's
minsecurity

This was better than the alternative of, if you'd selected "Private"
manually, it being switched to a lesser security, but honestly neither
was ideal.

So now instead of looking at the current value before adjusting things
for minsecurity, it becomes smarter and records a value when the user
themself has selected an option, and uses *that* value (only) if it
exists.


Commit: 6867afee69ea949db0b86a6d2777270eead2d60f
https://github.com/dreamwidth/dw-free/commit/6867afee69ea949db0b86a6d2777270eead2d60f
Author: Afuna <afunamatata+github@gmail.com>
Date: 2012-09-30 (Sun, 30 Sep 2012)

Changed paths:
M htdocs/js/jquery.postform.js

Log Message:
-----------
Merge pull request #98 from afuna/minsec-bug2524

(Bug 2524) Only remember value if user did the selecting


Compare: https://github.com/dreamwidth/dw-free/compare/f3ec8005a430...6867afee69ea