| | |
| | | this.env = new Object(); |
| | | this.labels = new Object(); |
| | | this.buttons = new Object(); |
| | | this.buttons_sel = new Object(); |
| | | this.gui_objects = new Object(); |
| | | this.gui_containers = new Object(); |
| | | this.commands = new Object(); |
| | |
| | | this.command('moveto', model[this.env.last_folder_target].id); |
| | | this.env.last_folder_target = null; |
| | | list.draglayer.hide(); |
| | | } |
| | | |
| | | // reset 'pressed' buttons |
| | | if (this.buttons_sel) { |
| | | for (var id in this.buttons_sel) |
| | | if (typeof id != 'function') |
| | | this.button_out(this.buttons_sel[id], id); |
| | | this.buttons_sel = {}; |
| | | } |
| | | }; |
| | | |
| | |
| | | else |
| | | elm.className = button.sel; |
| | | } |
| | | this.buttons_sel[id] = command; |
| | | } |
| | | } |
| | | }; |