mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-11-28 10:24:11 +01:00
Fix encoding in 3rdparty lib
This commit is contained in:
parent
a8482c24cd
commit
94dfff4eb5
@ -1089,7 +1089,7 @@ OC.Contacts = OC.Contacts || {};
|
||||
this.$fullelem.find('.groupscontainer').show();
|
||||
//this.$groupSelect.find('option').remove();
|
||||
$.each(availableGroups, function(idx, group) {
|
||||
var $option = $('<option value="' + group.id + '">' + group.name + '</option>');
|
||||
var $option = $('<option value="' + group.id + '">' + escapeHTML(group.name) + '</option>');
|
||||
if(self.inGroup(group.name)) {
|
||||
$option.attr('selected', 'selected');
|
||||
}
|
||||
@ -1575,7 +1575,7 @@ OC.Contacts = OC.Contacts || {};
|
||||
var input = $editor.find('input').first();
|
||||
var params = self.parametersFor(input, true);
|
||||
$(this).find('.meta').html(params.TYPE.join('/'));
|
||||
$(this).find('.adr').html(self.valueFor($editor.find('input').first()).clean('').join(', '));
|
||||
$(this).find('.adr').text(self.valueFor($editor.find('input').first()).clean('').join(', '));
|
||||
$(this).next('.listactions').css('display', 'inline-block');
|
||||
$('body').unbind('click', bodyListener);
|
||||
});
|
||||
|
@ -158,11 +158,11 @@ $.widget("ech.multiselect", {
|
||||
labelClasses.push( 'ui-state-active' );
|
||||
}
|
||||
|
||||
html += '<li class="' + liClasses + '">';
|
||||
html += '<li class="' + escapeHTML(liClasses) + '">';
|
||||
|
||||
// create the label
|
||||
html += '<label for="' + inputID + '" title="' + description + '" class="' + labelClasses.join(' ') + '">';
|
||||
html += '<input id="' + inputID + '" name="multiselect_' + id + '" type="' + (o.multiple ? "checkbox" : "radio") + '" value="' + value + '" title="' + title + '"';
|
||||
html += '<label for="' + escapeHTML(inputID) + '" title="' + escapeHTML(description) + '" class="' + escapeHTML(labelClasses.join(' ')) + '">';
|
||||
html += '<input id="' + escapeHTML(inputID) + '" name="multiselect_' + escapeHTML(id) + '" type="' + (o.multiple ? "checkbox" : "radio") + '" value="' + escapeHTML(value) + '" title="' + escapeHTML(title) + '"';
|
||||
|
||||
// pre-selected?
|
||||
if( isSelected ){
|
||||
@ -703,3 +703,4 @@ $.widget("ech.multiselect", {
|
||||
});
|
||||
|
||||
})(jQuery);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user