Skip to content

Commit 4aa72ea

Browse files
committed
Update jQuery UI to 1.13.2
1 parent 91b7f7d commit 4aa72ea

19 files changed

+1403
-1520
lines changed

src/UI/UIWindowShare.js

+21
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,21 @@ async function UIWindowShare(items){
6565
}
6666
})
6767

68+
let contacts = [];
69+
70+
puter.kv.get('contacts').then((kv_contacts) => {
71+
if(kv_contacts){
72+
try{
73+
contacts = JSON.parse(kv_contacts);
74+
$(el_window).find('.access-recipient').autocomplete({
75+
source: contacts
76+
});
77+
}catch(e){
78+
puter.kv.del('contacts');
79+
}
80+
}
81+
})
82+
6883
// /stat
6984
let perms = [];
7085
for(let i=0; i<items.length; i++){
@@ -184,6 +199,12 @@ async function UIWindowShare(items){
184199

185200
// append recipient to list
186201
$(el_window).find('.share-recipients').append(`${perm_list}`);
202+
203+
// add to contacts
204+
if(!contacts.includes(recipient_username)){
205+
contacts.push(recipient_username);
206+
puter.kv.set('contacts', JSON.stringify(contacts));
207+
}
187208
},
188209
error: function(err) {
189210
// at this point 'username_not_found' and 'shared_with_self' are the only

src/lib/jquery-ui-1.13.2/AUTHORS.txt

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Authors ordered by first contribution
2-
A list of current team members is available at http://jqueryui.com/about
2+
A list of current team members is available at https://jqueryui.com/about
33

44
Paul Bakaus <[email protected]>
55
Richard Worth <[email protected]>
@@ -42,7 +42,7 @@ Adam Sontag <[email protected]>
4242
Carl Fürstenberg <[email protected]>
4343
Kevin Dalman <[email protected]>
4444
Alberto Fernández Capel <[email protected]>
45-
Jacek Jędrzejewski (http://jacek.jedrzejewski.name)
45+
Jacek Jędrzejewski (https://jacek.jedrzejewski.name)
4646
Ting Kuei <[email protected]>
4747
Samuel Cormier-Iijima <[email protected]>
4848
Jon Palmer <[email protected]>
@@ -370,3 +370,12 @@ dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
370370
Adam Lidén Hällgren <[email protected]>
371371
James Hinderks <[email protected]>
372372
Denny Septian Panggabean <[email protected]>
373+
Matías Cánepa <[email protected]>
374+
Ashish Kurmi <[email protected]>
375+
376+
Дилян Палаузов <[email protected]>
377+
Kenneth DeBacker <[email protected]>
378+
Timo Tijhof <[email protected]>
379+
Timmy Willison <[email protected]>
380+
divdeploy <[email protected]>
381+
mark van tilburg <[email protected]>

src/lib/jquery-ui-1.13.2/LICENSE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright jQuery Foundation and other contributors, https://jquery.org/
1+
Copyright OpenJS Foundation and other contributors, https://openjsf.org/
22

33
This software consists of voluntary contributions made by many
44
individuals. For exact contribution history, see the revision history

0 commit comments

Comments
 (0)