projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9466f50
)
Hide cut, copy and paste buttons from gecko browsers
author
julmis
<julmis>
Mon, 3 Nov 2003 23:53:49 +0000
(23:53 +0000)
committer
julmis
<julmis>
Mon, 3 Nov 2003 23:53:49 +0000
(23:53 +0000)
lib/editor/htmlarea.php
patch
|
blob
|
history
diff --git
a/lib/editor/htmlarea.php
b/lib/editor/htmlarea.php
index d5870e22efb3fb836053bf5f7d117b5347c44b89..bc0c2c977b60cbfba8837c7457b24a15f00a67c1 100644
(file)
--- a/
lib/editor/htmlarea.php
+++ b/
lib/editor/htmlarea.php
@@
-56,6
+56,10
@@
function HTMLArea(textarea, config) {
this._mdoc = document; // cache the document, we need it in plugins
this.doctype = '';
}
+ // Hide cut, copy and paste buttons from gecko browsers
+ if (HTMLArea.is_gecko) {
+ this.config.hideSomeButtons(" cut copy paste ");
+ }
};
// cache some regexps