Skip to content

Commit

Permalink
[jan] Split shared users by linebreaks too.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Sep 19, 2016
1 parent d7f3d75 commit d3ac912
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kronolith/js/kronolith.js
Expand Up @@ -3435,7 +3435,7 @@ KronolithCore = {
$('kronolithC' + type + 'PUList').enable();
$('kronolithC' + type + 'PUPerms').enable();
var users = $F('kronolithC' + type + 'PUList').strip();
users = users ? users.split(/,\s*/) : [];
users = users ? users.split(/\s*(?:,|\n)\s*/) : [];
users.each(function(user) {
if (!this.insertGroupOrUser(type, 'user', user, true)) {
return;
Expand Down
2 changes: 1 addition & 1 deletion kronolith/package.xml
Expand Up @@ -2813,7 +2813,7 @@
<date>2016-09-06</date>
<license uri="http://www.horde.org/licenses/gpl">GPL-2.0</license>
<notes>
*
* [jan] Split shared users by linebreaks too.
</notes>
</release>
<release>
Expand Down

0 comments on commit d3ac912

Please sign in to comment.