diff --git a/parts/static/script.js b/parts/static/script.js index 045f7f0..ffe866d 100755 --- a/parts/static/script.js +++ b/parts/static/script.js @@ -75,7 +75,7 @@ function end_edit() { } function save(partID) { - if (!$('#location-dropdown').val() || ('#location-dropdown').val()== -1 ) { + if (!$('#location-dropdown').val() || ($'#location-dropdown').val()== -1 ) { alert('Please select a location.'); return; } diff --git a/readme.md b/readme.md index 2ba8336..010f0b2 100644 --- a/readme.md +++ b/readme.md @@ -53,5 +53,11 @@ AND DONE! Congratulations! You have added a part to the database! Only 563945679 * For the Datasheet, you have the option of either uploading a PDF that you have on your computer, or just pasting a link you found on the internet. If you upload a file, it will be stored on our servers, so that means we will have it even after it gets completely removed from the internet. Pasting a link is quicker, though, so I get it if you do that instead. * The Notes field is for notes. +### Adding users +* go to https://elab.kth.se/parts/userEditor +* add the new user with the + thing in the bottom right +* Fun fact: any user can add more users. It's like the plague +* Fun fact 2: Don't add users manualy via the database pls and tank you. + ## Work in progress The system is currently being worked on. No touchy!