File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 2
2
All notable changes to the Project Ownership module will be documented in this file.
3
3
This project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
4
4
5
+ ## [ 2.0.3] - 2019-07-29
6
+ ### Added
7
+ - Fix issue #38 (Kyle Chesney)
8
+
9
+
5
10
## [ 2.0.2] - 2019-02-01
6
11
### Added
7
12
- Including Exception class namespace. (Tiago Bember Simeao)
Original file line number Diff line number Diff line change @@ -90,7 +90,12 @@ $(document).ready(function() {
90
90
ownershipFieldsInit = true ;
91
91
92
92
if ( $ ( '#purpose' ) . val ( ) === '2' && ! piFieldsInit ) {
93
- $ ( '[name="project_pi_' + key + '"]' ) . val ( $ ( this ) . val ( ) ) ;
93
+
94
+ urlp = new URLSearchParams ( window . location . search ) ;
95
+ // only autopopulate pi fields if on project creation
96
+ if ( urlp . get ( 'action' ) == 'create' ) {
97
+ $ ( '[name="project_pi_' + key + '"]' ) . val ( $ ( this ) . val ( ) ) ;
98
+ }
94
99
}
95
100
} ) ;
96
101
} ) ;
You can’t perform that action at this time.
0 commit comments