You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: wordpress-plugin/js/questions.js
+26
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,31 @@ Questions.s1q1bi = {
72
72
73
73
};
74
74
75
+
// When was the work first published under the grant?
76
+
77
+
Questions.s1q1bii={
78
+
section: 1,
79
+
question: 'When was the work first published under the grant?',
80
+
explanation:'When a work was first published under the grant (which may be different than the the date the work was published for the first time) can factor into the timing of a termination right. Note that "publication" has a particular meaning in U.S. copyright law, as discussed in our <a href="/glossary/#publication_date">glossary</a>.',
81
+
variable: 'grant_pub_year',
82
+
input: 'year',
83
+
validate: function(){
84
+
varerrors=Validation.validDate();
85
+
if(errors==false){
86
+
varyear=parseInt(jQuery('.text-question').val());
87
+
if(year<Values.creation_year){
88
+
errors='Year of publication under grant cannot be earlier than year of creation.';
89
+
}elseif(year<Values.pub_year){
90
+
errors='Year of publication under grant cannot be earlier than year of initial publication.';
91
+
}/* else if (year < Values.k_year) {
92
+
errors = 'Year of publication under grant cannot be earlier than year of grant.';
93
+
}*/
94
+
}
95
+
returnerrors;
96
+
}
97
+
};
98
+
99
+
75
100
// Works from 1989 and earlier usually display a copyright notice. Did the work have a copyright notice?
0 commit comments