Subversion Repositories HomeAutomation

Rev

Rev 1221 | Rev 1223 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1221 Rev 1222
Line 193... Line 193...
193
    this.dtmfReturnMenuItem.doPress = function(args) { self.changeToDesc(); };
193
    this.dtmfReturnMenuItem.doPress = function(args) { self.changeToDesc(); };
194
}
194
}
195
 
195
 
196
DisplayLinus.prototype.changeToDesc = function()
196
DisplayLinus.prototype.changeToDesc = function()
197
{
197
{
198
    if (this.descItem)
198
    if (this.currentMenuItem.descItem)
199
    {
199
    {
200
        this.currentMenuItem = this.descItem;
200
        this.currentMenuItem = this.currentMenuItem.descItem;
201
    }
201
    }
202
}
202
}
203
 
203
 
204
DisplayLinus.prototype.changeToNext = function()
204
DisplayLinus.prototype.changeToNext = function()
205
{
205
{
206
    if (this.nextItem)
206
    if (this.currentMenuItem.nextItem)
207
    {
207
    {
208
        this.currentMenuItem = this.nextItem;
208
        this.currentMenuItem = this.currentMenuItem.nextItem;
209
    }
209
    }
210
}
210
}
211
 
211
 
212
DisplayLinus.prototype.changeToPrev = function()
212
DisplayLinus.prototype.changeToPrev = function()
213
{
213
{
214
    if (this.prevItem)
214
    if (this.currentMenuItem.prevItem)
215
    {
215
    {
216
        this.currentMenuItem = this.prevItem;
216
        this.currentMenuItem = this.currentMenuItem.prevItem;
217
    }
217
    }
218
}
218
}
219
 
219
 
220
 
220
 
221
DisplayLinus.prototype.updateStatusMenuItem = function()
221
DisplayLinus.prototype.updateStatusMenuItem = function()