summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup-bwlp-ipxe/templates/git_task.html
blob: 7f1992565301371e97d151272a9900981fd475b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<div id="tm-select-div" data-tm-id="{{selectTask}}" data-tm-log="error" data-tm-callback="ipxeSelVersionCb">
	{{lang_gitCheckout}}
</div>
<script type="text/javascript">
	function ipxeSelVersionCb(task) {
		{{#reload}}
		if (!task || !task.statusCode)
			return;

		if (task.statusCode === 'TASK_FINISHED') {
			window.location.href = '?do=serversetup&show=address&sv=0';
		}
		{{/reload}}
	}
</script>