fix share for users with a point within their name
This commit is contained in:
parent
85dbfc8165
commit
a1c9191006
|
@ -506,10 +506,11 @@ Calendar={
|
|||
},
|
||||
dropdown:function(userid, calid){
|
||||
$('.calendar_share_dropdown').remove();
|
||||
$('<div class="calendar_share_dropdown"></div>').appendTo('#'+userid+'_'+calid);
|
||||
var element = document.getElementById(userid+'_'+calid);
|
||||
$('<div class="calendar_share_dropdown"></div>').appendTo(element);
|
||||
$.get(OC.filePath('calendar', 'ajax/share', 'dropdown.php') + '?calid=' + calid, function(data){
|
||||
$('#'+userid+'_'+calid+' > .calendar_share_dropdown').html(data);
|
||||
$('#'+userid+'_'+calid+' > .calendar_share_dropdown').show('blind');
|
||||
$('.calendar_share_dropdown').html(data);
|
||||
$('.calendar_share_dropdown').show('blind');
|
||||
$('#share_user').chosen();
|
||||
$('#share_group').chosen();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue