send bijlage ook bij new ww
This commit is contained in:
@@ -112,9 +112,9 @@ ls.initGebruikersModel = function(){
|
||||
otherUsers : ko.observableArray([]),
|
||||
functies :ko.observableArray([]),
|
||||
zoekstring : ko.observable(''),
|
||||
titel : ko.observable({title: ko.observable(), status: ko.observable()} ),
|
||||
titel : ko.observable({title: ko.observable(), status: ko.observable()} ),
|
||||
autorisatieopties : ko.observableArray([]),
|
||||
focusop : ko.observable(1), //werkt weer eens niet
|
||||
focusop : ko.observable(1), //werkt weer eens niet
|
||||
bezig : ko.observable(false),
|
||||
|
||||
initBindings :function(){
|
||||
@@ -320,12 +320,19 @@ ls.initGebruikersModel = function(){
|
||||
|
||||
fSendNewWW: function(){
|
||||
var self = ls.GebruikersModel;
|
||||
$.post("index.php/shared/users/sendnewww/" + self.selectedUser().userid, function(result){
|
||||
|
||||
if (self.bezig()) return
|
||||
let sd = {userid: self.selectedUser().userid,
|
||||
orgid : self.selectedOrg().id}
|
||||
self.bezig(true)
|
||||
$.post("index.php/shared/users/SendNewWW" ,sd, function(result){
|
||||
if (result) {
|
||||
apprise("Er is een e-mail verstuurd naar " +self.selectedUser().email() + " met daarin het nieuwe wachtwoord.");
|
||||
}
|
||||
self.bezig(false)
|
||||
},'json');
|
||||
},
|
||||
|
||||
fToggleGeopend : function(){
|
||||
this.geopend(!this.geopend());
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user