| 1 |
define([ |
| 2 |
"dojo/_base/declare" |
| 3 |
], function(declare){ |
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
return declare(null, { |
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
_callParentFunction: false, |
| 14 |
|
| 15 |
nextView: function(node){ |
| 16 |
|
| 17 |
if(this.isLeftToRight() || this._callParentFunction){ |
| 18 |
this._callParentFunction = false; |
| 19 |
return this.inherited(arguments); |
| 20 |
}else{ |
| 21 |
this._callParentFunction = true; |
| 22 |
return this.previousView(node); |
| 23 |
} |
| 24 |
}, |
| 25 |
previousView: function(node){ |
| 26 |
|
| 27 |
if(this.isLeftToRight() || this._callParentFunction){ |
| 28 |
this._callParentFunction = false; |
| 29 |
return this.inherited(arguments); |
| 30 |
}else{ |
| 31 |
this._callParentFunction = true; |
| 32 |
return this.nextView(node); |
| 33 |
} |
| 34 |
} |
| 35 |
|
| 36 |
|
| 37 |
}); |
| 38 |
}); |