@@ -314,10 +314,11 function showModal(id, width) { | |||||
314 | el.addClassName('modal'); |
|
314 | el.addClassName('modal'); | |
315 | el.show(); |
|
315 | el.show(); | |
316 |
|
316 | |||
317 |
|
|
317 | if (el.down("input[type=text]")) { | |
318 | if (submit) { |
|
318 | el.down("input[type=text]").focus(); | |
319 | submit.focus(); |
|
319 | } else if (el.down("input[type=submit]")) { | |
320 | } |
|
320 | el.down("input[type=submit]").focus(); | |
|
321 | } | |||
321 | } |
|
322 | } | |
322 |
|
323 | |||
323 | function hideModal(el) { |
|
324 | function hideModal(el) { |
General Comments 0
You need to be logged in to leave comments.
Login now