Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1904

Datebox doesn't sync dropdown stackup well (IE only)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 6.5.3
    • Fix Version/s: 6.5.4
    • Component/s: Components
    • Security Level: Jimmy
    • Labels:
      None

      Description

      http://screencast.com/t/BBAY75bCi

      <zk>
      	<grid width="500px">
      		<columns>
      			<column />
      			<column />
      		</columns>
      		<rows>
      			<row>
      				<cell />
      				<datebox />
      			</row>
      			<row>
      				<cell colspan="2">
      					<hlayout>
      						<button label="ok" />
      						<button label="cancel" />
      					</hlayout>
      				</cell>
      			</row>
      		</rows>
      	</grid>
      </zk>
      

        Activity

        Hide
        jimmyshiau jimmyshiau added a comment -

        workaround

        	<script type="text/javascript"><![CDATA[
        	    zk.afterLoad('zul.db', function () {
        	        var _xCalendarPop = {};
        	        zk.override(zul.db.CalendarPop.prototype, _xCalendarPop, {
        	        	rerender: function () {
        		    		this.$supers('rerender', arguments);
        		    	},
        		    	close: function (silent) {
        	        		_xCalendarPop.close.apply(this, arguments); //call the original method
        	        		if (this._shadow) {
        	        			this._shadow.destroy();
        	        			this._shadow = null;
        	        		}
        		    	}
        	        });
        	   });
        	]]></script>
        
        Show
        jimmyshiau jimmyshiau added a comment - workaround <script type= "text/javascript" > <![CDATA[ zk.afterLoad('zul.db', function () { var _xCalendarPop = {}; zk.override(zul.db.CalendarPop.prototype, _xCalendarPop, { rerender: function () { this.$supers('rerender', arguments); }, close: function (silent) { _xCalendarPop.close.apply(this, arguments); //call the original method if (this._shadow) { this._shadow.destroy(); this._shadow = null; } } }); }); ]]> </script>
        Hide
        vincentjian vincentjian added a comment -

        Fixed since 2013/8/27.

        Show
        vincentjian vincentjian added a comment - Fixed since 2013/8/27.

          People

          • Assignee:
            RaymondChao RaymondChao
            Reporter:
            jimmyshiau jimmyshiau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: