diff options
Diffstat (limited to 'framework/Web/Javascripts/prado/controls.js')
-rw-r--r-- | framework/Web/Javascripts/prado/controls.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/framework/Web/Javascripts/prado/controls.js b/framework/Web/Javascripts/prado/controls.js index 7a1a8257..1d274fd8 100644 --- a/framework/Web/Javascripts/prado/controls.js +++ b/framework/Web/Javascripts/prado/controls.js @@ -72,6 +72,7 @@ Prado.WebUI.TLinkButton = Prado.WebUI.ClickableComponent; Prado.WebUI.TImageButton = Prado.WebUI.ClickableComponent;
Prado.WebUI.TCheckBox = Prado.WebUI.ClickableComponent;
Prado.WebUI.TBulletedList = Prado.WebUI.ClickableComponent;
+Prado.WebUI.TImageMap = Prado.WebUI.ClickableComponent;
/**
* Radio button, only initialize if not already checked.
@@ -154,7 +155,7 @@ Prado.WebUI.TTextHighlighter=Class.create(); Prado.WebUI.TTextHighlighter.prototype={initialize:function(id)
{
if(!window.clipboardData) return;
- var options =
+ var options =
{
href : 'javascript:;//copy code to clipboard',
onclick : 'Prado.WebUI.TTextHighlighter.copy(this)',
@@ -166,7 +167,7 @@ Prado.WebUI.TTextHighlighter.prototype={initialize:function(id) }};
Object.extend(Prado.WebUI.TTextHighlighter,
-{
+{
copy : function(obj)
{
var parent = obj.parentNode.parentNode.parentNode;
@@ -182,7 +183,7 @@ Object.extend(Prado.WebUI.TTextHighlighter, if(text.length > 0)
window.clipboardData.setData("Text", text);
},
-
+
hover : function(obj)
{
obj.parentNode.className = "copycode copycode_hover";
|