|
@@ -896,13 +896,22 @@
|
|
|
if(additionalPostTypeId == undefined){
|
|
|
additionalPostTypeId = "";
|
|
|
}
|
|
|
+
|
|
|
+ var staffGrades = $("#staffGrades").val();
|
|
|
+ if(staffGrades == undefined){
|
|
|
+ staffGrades = "";
|
|
|
+ }
|
|
|
+ var staffGradesTime = $("#staffGradesTime").val();
|
|
|
+ if(staffGradesTime == undefined){
|
|
|
+ staffGradesTime = "";
|
|
|
+ }
|
|
|
if (
|
|
|
$("#currentPostTypeId").val() != personnel.currentPostType
|
|
|
|| $("#currentPostTime").val() != personnel.currentPostTime
|
|
|
|| $("#leadershipPos").val() != personnel.leadershipPos
|
|
|
|| (personnel.leadershipPosTime != null && $("#leadershipPosTime").val() != personnel.leadershipPosTime)
|
|
|
- || $("#staffGrades").val() != personnel.staffGrades
|
|
|
- || (personnel.staffGradesTime != null && $("#staffGradesTime").val() != personnel.staffGradesTime)
|
|
|
+ || staffGrades != personnel.staffGrades
|
|
|
+ || (personnel.staffGradesTime != null && staffGradesTime != personnel.staffGradesTime)
|
|
|
|| (personnel.additionalPostTime != null && $("#additionalPostTime").val() != personnel.additionalPostTime)
|
|
|
|| additionalPostTypeId != personnel.additionalPostType
|
|
|
|