C2015-028 Add Editorial Mode to PROMS Step Editor
This commit is contained in:
@@ -394,6 +394,33 @@ namespace VEPROMS.CSLA.Library
|
||||
OnPropertyChanged("Step_ChangeID");
|
||||
}
|
||||
}
|
||||
|
||||
// C2015-028 Add Editorial Mode to PROMS Step Editor
|
||||
// was last change made in editorial mode and thus change bars should be disabled?
|
||||
// will contain userid of user that made last change if it was in Editorial Mode
|
||||
// if there was not a previous change that would have caused change bars
|
||||
// will be blank/empty by default
|
||||
// will get overwritten every time a change is made
|
||||
public string Step_ChangeIDEditorialMode
|
||||
{
|
||||
get
|
||||
{
|
||||
string s = _Xp["Step", "ChangeIDEMode"];
|
||||
|
||||
if (s == string.Empty) return null;
|
||||
return s;
|
||||
}
|
||||
set
|
||||
{
|
||||
string s = _Xp["Step", "ChangeIDEMode"];
|
||||
|
||||
if (value != null && value.ToString() == s) return;
|
||||
if (value == null && s != null) _Xp["Step", "ChangeIDEMode"] = null;
|
||||
else _Xp["Step", "ChangeIDEMode"] = value.ToString();
|
||||
OnPropertyChanged("Step_ChangeIDEMode");
|
||||
}
|
||||
}
|
||||
|
||||
public string Step_Responsibility
|
||||
{
|
||||
get
|
||||
|
Reference in New Issue
Block a user