リビジョン | 7ec566d7ae1d94e37bfea90fca40006f3d45e23d (tree) |
---|---|
日時 | 2012-09-23 02:57:52 |
作者 | angeart <angeart@git....> |
コミッター | angeart |
Merge branch 'master' of git.sourceforge.jp:/gitroot/mmo/main
@@ -14,9 +14,7 @@ list = new UI.List({ | ||
14 | 14 | docking: UI.DOCKING_TOP | UI.DOCKING_LEFT | UI.DOCKING_RIGHT | UI.DOCKING_BOTTOM |
15 | 15 | }); |
16 | 16 | Model.onReload = function() { |
17 | - | |
18 | 17 | list.clearItems(); |
19 | - | |
20 | 18 | var even_line = false; |
21 | 19 | var model_names = Model.all(); |
22 | 20 | for (var i = 0; i < model_names.length; i++) { |
@@ -25,7 +23,7 @@ Model.onReload = function() { | ||
25 | 23 | list.addItem( |
26 | 24 | new UI.Label({ |
27 | 25 | docking: UI.DOCKING_TOP | UI.DOCKING_LEFT | UI.DOCKING_RIGHT, |
28 | - text: model_name, | |
26 | + text: model_name.substring(5), | |
29 | 27 | bgcolor: ((even_line = !even_line) ? "#EEAFEECC" : "#FFFFFFCC"), |
30 | 28 | onclick: function() { |
31 | 29 | Account.updateModelName(model_name) |