root / trunk / web / dojo / dijit / ToolbarSeparator.js @ 10
History | View | Annotate | Download (682 Bytes)
| 1 | 
      /*
     | 
  
|---|---|
| 2 | 
              Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
     | 
  
| 3 | 
              Available via Academic Free License >= 2.1 OR the modified BSD license.
     | 
  
| 4 | 
              see: http://dojotoolkit.org/license for details
     | 
  
| 5 | 
      */
     | 
  
| 6 | 
       | 
  
| 7 | 
       | 
  
| 8 | 
      if(!dojo._hasResource["dijit.ToolbarSeparator"]){  | 
  
| 9 | 
      dojo._hasResource["dijit.ToolbarSeparator"]=true;  | 
  
| 10 | 
      dojo.provide("dijit.ToolbarSeparator");
     | 
  
| 11 | 
      dojo.require("dijit._Widget");
     | 
  
| 12 | 
      dojo.require("dijit._Templated");
     | 
  
| 13 | 
      dojo.declare("dijit.ToolbarSeparator",[dijit._Widget,dijit._Templated],{templateString:"<div class=\"dijitToolbarSeparator dijitInline\" waiRole=\"presentation\"></div>",postCreate:function(){  | 
  
| 14 | 
      dojo.setSelectable(this.domNode,false);  | 
  
| 15 | 
      },isFocusable:function(){  | 
  
| 16 | 
      return false;  | 
  
| 17 | 
      }});  | 
  
| 18 | 
      }  |