OSDN Git Service

bugfix Combobox.selectIndex().
authoritozyun <itozyun@gmail.com>
Sun, 22 Apr 2012 21:04:18 +0000 (06:04 +0900)
committeritozyun <itozyun@gmail.com>
Sun, 22 Apr 2012 21:04:18 +0000 (06:04 +0900)
public/assets/work.js

index 04106ea..8304a3a 100644 (file)
@@ -2939,10 +2939,10 @@ pettanr.comicConsole = pettanr.view.registerApplication( function(){
                                _name = _select.name;\r
                                _optionList = _select.getElementsByTagName( 'option' )\r
                                if( _name === 'comic[visible]'){\r
-                                       _select.selectedIndex = comboboxVisible.selectIndex;\r
+                                       _select.selectedIndex = comboboxVisible.selectIndex();\r
                                } else\r
                                if( _name === 'comic[editable]'){\r
-                                       _select.selectedIndex = comboboxEditable.selectIndex;\r
+                                       _select.selectedIndex = comboboxEditable.selectIndex();\r
                                }\r
                        }\r
                        try {\r