Created
September 24, 2016 00:24
-
-
Save vishnun/d0528e0c923b63c1e9655bd737e7733c to your computer and use it in GitHub Desktop.
A small script I need to make it easy to go through WISE steps on the browser. Needed it for more productive work.
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
tr = $($0); | |
closeBtn = $('#authorNavButtons [value=Close]'); | |
function nextEdit(tr) { | |
var nextTr = $(tr).next(); | |
var editButton = $(nextTr).find('.editNodeInput'); | |
editButton.click(); | |
return nextTr; | |
}; | |
function nextStep(){ | |
closeBtn.click(); | |
tr = nextEdit(tr); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment