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 1111<body>
1212<pre for="contextSelect" style="padding-top: 2em;white-space: pre-wrap;height: 60px;">Change Context: <select id="newContext" onchange="updateContext()">
1313 <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
1616 set contextList = ##class(SourceControl.Git.Utils).GetContexts(1)
1717 set iterator = contextList.%GetIterator()
18- &html<<option>Select </option>>
18+ &html<<option>#(namespace)# </option>>
1919 while iterator.%GetNext(.key, .value) {
20- &html<<option value=#(value)#>#(value)#</option>>
20+ if (namespace '= value) {
21+ &html<<option value="#(value)#">#(value)#</option>>
22+ }
2123 }
2224 }
2325 </server>
You can’t perform that action at this time.
0 commit comments