Fixes #2223
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
this._config.set(field + 'Scope', scope);
- $('#' + field).parent().find('span > input').val(scope);
+ $('#' + field + 'scope').val(scope);
// TODO: user loading/success feedback
this._config.save();
<div class="inlineblock button primary" id="sendcropperbutton"><?php p($l->t('Choose as profile picture')); ?></div>
</div>
</div>
+ <span class="icon-checkmark hidden"/>
<input type="hidden" id="avatarscope" value="<?php p($_['avatarScope']) ?>">
</form>
</div>