Skip to content

Commit

Permalink
status-undefined-for-ipmnote
Browse files Browse the repository at this point in the history
  • Loading branch information
bavincen committed May 9, 2016
1 parent c8af0bd commit 98c047c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion interfaces/exchangeTodo/mivExchangeTodo.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ try{
this._companies.push(company);
}
}
this._status = null;
if (aItem._status) this._status = aItem._status;
}
catch(err){
Expand Down Expand Up @@ -1079,6 +1080,10 @@ catch(err){
noteStatus = "NotStarted";
}
}
else
{
noteStatus = "NotStarted";
}

if( noteStatus != "Completed" ){
var tmpObject_2 = this.XPath("/t:ExtendedProperty[t:ExtendedFieldURI/@PropertyId = '33052']");
Expand All @@ -1099,7 +1104,6 @@ catch(err){
this._calEvent.status = statusMap[this._status];

this._calEvent.setProperty("STATUS", statusMap[this._status]);

this._isCompleted = ( this._status == "Completed" );

this._calEvent.isCompleted = this._isCompleted;
Expand Down

0 comments on commit 98c047c

Please sign in to comment.