Created
November 28, 2019 18:32
-
-
Save acagastya/e83de7baf98bec881d8ec19c8d88ea1a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function staffAppr() { | |
let id = | |
'ctl00_ContentPlaceHolder1_WebPartManager1_gwpPanelStaffDetails_gdvRating'; | |
try { | |
const a = [...document.getElementById(id).rows]; | |
a.shift(); | |
a.forEach(row => { | |
row.cells[2].children[0].value = row.cells[1].innerHTML.split( | |
'-' | |
)[1]; | |
}); | |
} catch{} | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment