File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 11
11
<body>
12
12
<pre for="contextSelect" style="padding-top: 2em;white-space: pre-wrap;height: 60px;">Change Context: <select id="newContext" onchange="updateContext()">
13
13
<server>
14
- if (%request.Data("$NAMESPACE")) {
15
- set $NAMESPACE = %request.Data("$NAMESPACE",1)
14
+ if $Data (%request.Data("$NAMESPACE",1),namespace)#2 {
15
+ set $NAMESPACE = namespace
16
16
set contextList = ##class(SourceControl.Git.Utils).GetContexts(1)
17
17
set iterator = contextList.%GetIterator()
18
- &html<<option>Select </option>>
18
+ &html<<option>#(namespace)# </option>>
19
19
while iterator.%GetNext(.key, .value) {
20
- &html<<option value=#(value)#>#(value)#</option>>
20
+ if (namespace '= value) {
21
+ &html<<option value="#(value)#">#(value)#</option>>
22
+ }
21
23
}
22
24
}
23
25
</server>
You can’t perform that action at this time.
0 commit comments