| 1 | define([ |
| 2 | "dojo/_base/declare" |
| 3 | ], function(declare){ |
| 4 | |
| 5 | // module: |
| 6 | // dojox/mobile/bidi/SimpleDialog |
| 7 | |
| 8 | return declare(null, { |
| 9 | |
| 10 | refresh:function(){ |
| 11 | this.inherited(arguments); |
| 12 | if(!this.isLeftToRight() && this.closeButton){ |
| 13 | var s = Math.round(this.closeButtonNode.offsetHeight / 2); |
| 14 | this.closeButtonNode.style.left = -s + "px"; |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | }); |
| 19 | }); |
| 20 |