This commit is contained in:
2019-12-18 18:30:59 +01:00
parent 62de7f6b06
commit 6fb9824380
4 changed files with 12 additions and 3 deletions
@@ -81,7 +81,7 @@
pass : $('input#edit-pass[type="password"]', this).val()
};
// console.log(args);
logIn(args).then(getStudioLinkBlock);
logIn(args).then(logedin);
return false;
};
function logIn(args){
@@ -110,6 +110,10 @@
}
});
};
function logedin(){
$('body').addClass('user-logged-in');
getStudioLinkBlock();
};
function getStudioLinkBlock(){
var path = _origin+_base_url+'edlp/ajax/blocks/json/';
$.getJSON(path+"studiolinkblock", {})