1318 |
alexandre_ |
1 |
/*
|
|
|
2 |
Copyright (c) 2004-2006, The Dojo Foundation
|
|
|
3 |
All Rights Reserved.
|
|
|
4 |
|
|
|
5 |
Licensed under the Academic Free License version 2.1 or above OR the
|
|
|
6 |
modified BSD license. For more information on Dojo licensing, see:
|
|
|
7 |
|
|
|
8 |
http://dojotoolkit.org/community/licensing.shtml
|
|
|
9 |
*/
|
|
|
10 |
|
|
|
11 |
dojo.provide("dojo.widget.LinkPane");
|
|
|
12 |
dojo.require("dojo.widget.*");
|
|
|
13 |
dojo.require("dojo.widget.ContentPane");
|
|
|
14 |
dojo.require("dojo.html.style");
|
|
|
15 |
dojo.widget.defineWidget("dojo.widget.LinkPane", dojo.widget.ContentPane, {templateString:"<div class=\"dojoLinkPane\"></div>", fillInTemplate:function (args, frag) {
|
|
|
16 |
var source = this.getFragNodeRef(frag);
|
|
|
17 |
this.label += source.innerHTML;
|
|
|
18 |
var source = this.getFragNodeRef(frag);
|
|
|
19 |
dojo.html.copyStyle(this.domNode, source);
|
|
|
20 |
}});
|
|
|
21 |
|