Skip to content

Commit

Permalink
also fix source in group create function
Browse files Browse the repository at this point in the history
  • Loading branch information
johndoh committed Feb 18, 2017
1 parent 82d049f commit 336e937
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions program/js/app.js
Expand Up @@ -6195,13 +6195,14 @@ function rcube_webmail()
this.group_create = function()
{
var input = $('<input>').attr('type', 'text'),
content = $('<label>').text(this.get_label('namex')).append(input);
content = $('<label>').text(this.get_label('namex')).append(input),
source = this.env.source;

this.simple_dialog(content, 'newgroup',
function() {
var name;
if (name = input.val()) {
ref.http_post('group-create', {_source: ref.env.source, _name: name},
ref.http_post('group-create', {_source: source, _name: name},
ref.set_busy(true, 'loading'));
return true;
}
Expand Down

0 comments on commit 336e937

Please sign in to comment.