Skip to content

Commit 17fbf6a

Browse files
committed
conf class rename, write config to db, boolean value ui bugfix
1 parent 87f5841 commit 17fbf6a

File tree

3 files changed

+2
-72
lines changed

3 files changed

+2
-72
lines changed

conf/conf.tcl

-70
This file was deleted.

init.tcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ db copy dbj
3939
dbj configure -result_format J
4040
db copy dbl
4141
dbl configure -result_format L
42-
::oodz::conf create ::oodzConf -db ::db
42+
::oodz::conf create ::oodzConf
4343

4444
# Creating ::oodzSession Global Object (File)
4545
sessionFactory createSession -persist_type ::oodz::SessionFile

ui/1_htmlWrapper.tcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ namespace eval oodz {
221221

222222
ns_adp_puts "<div class=\"form-check\">"
223223
ns_adp_puts "<input name=\"$var\" type=\"hidden\" value=\"0\">"
224-
ns_adp_puts "<input class=\"$class\" name=\"$var\" id=\"$var\" type=\"checkbox\" $js $ch $mandatory>"
224+
ns_adp_puts "<input class=\"$class\" name=\"$var\" id=\"$var\" type=\"checkbox\" value=\"1\" $js $ch $mandatory>"
225225
ns_adp_puts "<label class=\"form-check-label\" for=\"$var\">$placeholder</label>"
226226
ns_adp_puts "</div>"
227227
}

0 commit comments

Comments
 (0)