You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
566 B
27 lines
566 B
define([ |
|
"dojo/_base/declare", |
|
"dojo/dom-class" |
|
], function(declare, domClass){ |
|
|
|
// module: |
|
// dojox/mobile/bidi/SimpleDialog |
|
|
|
return declare(null, { |
|
|
|
buildRendering:function(){ |
|
this.inherited(arguments); |
|
if(!this.isLeftToRight()){ |
|
if(this.closeButton){ |
|
var s = Math.round(this.closeButtonNode.offsetHeight / 2); |
|
this.closeButtonNode.style.left = -s + "px"; |
|
} |
|
if(this.center){ |
|
domClass.add(this.domNode, "mblProgressIndicatorCenterRtl"); |
|
} |
|
domClass.add(this.containerNode, "mblProgContainerRtl"); |
|
} |
|
} |
|
|
|
}); |
|
}); |
|
|
|
|