0edff4c16dd4e49e0fef7375b831541aadcd66b5.svn-base 575 B

123456789101112131415161718192021
  1. /*
  2. * Ext JS Library 2.0 Copyright(c) 2006-2007, Ext JS, LLC. licensing@extjs.com
  3. *
  4. * http://extjs.com/license
  5. */
  6. Ext.menu.Separator = function(A) {
  7. Ext.menu.Separator.superclass.constructor.call(this, A)
  8. };
  9. Ext.extend(Ext.menu.Separator, Ext.menu.BaseItem, {
  10. itemCls : "x-menu-sep",
  11. hideOnClick : false,
  12. onRender : function(A) {
  13. var B = document.createElement("span");
  14. B.className = this.itemCls;
  15. B.innerHTML = " ";
  16. this.el = B;
  17. A.addClass("x-menu-sep-li");
  18. Ext.menu.Separator.superclass.onRender.apply(this, arguments)
  19. }
  20. });