Last active
February 9, 2018 13:33
-
-
Save listba/8cfb45affac036b1156addebf28a3424 to your computer and use it in GitHub Desktop.
Bookmarklet Script for Octopus Deploy to help speed up Creating a Release
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
javascript:(function(){NodeList.prototype.forEach = Array.prototype.forEach; var v = document.querySelectorAll('div.controls input')[0].value; document.querySelectorAll('input[ng-model]').forEach(function(t) { if (t.getAttribute('type') == 'radio' && t.value == 'specific') {t.click();} else if (t.getAttribute('ng-model') == 'pack.SpecificVersion'){t.value = v; t.dispatchEvent(new UIEvent('change', {'view': window, 'bubbles': true, 'cancelable': true}));}});})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment