forked from extern/egroupware
remove some time not used zeroclipboard stuff
This commit is contained in:
parent
d7f6e78719
commit
41a8710862
@ -1969,15 +1969,6 @@ body:last-child .blueimp-gallery>.play-pause, .blueimp-gallery>.play-pause{
|
||||
white-space: nowrap;
|
||||
opacity:1; /* When the controls panel is on then we need to show back the indicators*/
|
||||
}
|
||||
#global-zeroclipboard-flash-bridge zeroclipboard-is-hover {
|
||||
background-color: red;
|
||||
}
|
||||
div.flash-click-to-play-dialog {
|
||||
|
||||
width:200px !important;
|
||||
height: 200px !important;
|
||||
/*opacity:0;*/
|
||||
}
|
||||
/*Generic class for text overflow ellipsis*/
|
||||
.et2_ellipsis {
|
||||
text-overflow: ellipsis;
|
||||
|
@ -13,13 +13,8 @@
|
||||
jquery.jquery;
|
||||
egw_menu;
|
||||
/phpgwapi/js/jquery/jquery-tap-and-hold/jquery.tapandhold.js;
|
||||
/phpgwapi/js/zeroclipboard/dist/ZeroClipboard.min.js;
|
||||
*/
|
||||
|
||||
/* Set flashLoadTimeout to something close to immediate as we need to inspect error event, right when
|
||||
* we open the context menu in order to detect Flash player's click-to-play mode*/
|
||||
ZeroClipboard.config( { swfPath: egw.webserverUrl+"/phpgwapi/js/zeroclipboard/dist/ZeroClipboard.swf", flashLoadTimeout: 400} );
|
||||
|
||||
if (typeof window._egwActionClasses == "undefined")
|
||||
window._egwActionClasses = {};
|
||||
_egwActionClasses["popup"] = {
|
||||
@ -137,7 +132,7 @@ function egwPopupActionImplementation()
|
||||
// Prevent bubbling bound event on <a> tag, on touch devices
|
||||
// a tag should be handled by default event
|
||||
if (egwIsMobile && e.target.tagName == "A") return true;
|
||||
|
||||
|
||||
if (typeof document.selection != "undefined" && typeof document.selection.empty != "undefined")
|
||||
{
|
||||
document.selection.empty();
|
||||
|
@ -1,8 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
Copyright (c) 2009-2014 Jon Rohan, James M. Greene
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@ -1,92 +0,0 @@
|
||||
### WARNING
|
||||
**This `master` branch contains the `v2.x` codebase for ZeroClipboard! For the `v1.x` codebase, see the [`1.x-master`](https://github.com/zeroclipboard/zeroclipboard/tree/1.x-master) branch instead.**
|
||||
|
||||
|
||||
# ZeroClipboard
|
||||
[![GitHub Latest Release](https://badge.fury.io/gh/zeroclipboard%2Fzeroclipboard.png)](https://github.com/zeroclipboard/zeroclipboard) [![Build Status](https://secure.travis-ci.org/zeroclipboard/zeroclipboard.png?branch=master)](https://travis-ci.org/zeroclipboard/zeroclipboard) [![Coverage Status](https://coveralls.io/repos/zeroclipboard/zeroclipboard/badge.png?branch=master)](https://coveralls.io/r/zeroclipboard/zeroclipboard?branch=master) [![Dependency Status](https://david-dm.org/zeroclipboard/zeroclipboard.png?theme=shields.io)](https://david-dm.org/zeroclipboard/zeroclipboard) [![Dev Dependency Status](https://david-dm.org/zeroclipboard/zeroclipboard/dev-status.png?theme=shields.io)](https://david-dm.org/zeroclipboard/zeroclipboard#info=devDependencies)
|
||||
|
||||
The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible [Adobe Flash](http://en.wikipedia.org/wiki/Adobe_Flash) movie and a [JavaScript](http://en.wikipedia.org/wiki/JavaScript) interface. The "Zero" signifies that the library is invisible and the user interface is left entirely up to you.
|
||||
|
||||
This is achieved by automatically floating the invisible movie on top of a [DOM](http://en.wikipedia.org/wiki/Document_Object_Model) element of your choice. Standard mouse events are even propagated out to your DOM element, so you can still have rollover and mousedown effects.
|
||||
|
||||
|
||||
## Limitations
|
||||
|
||||
### User Interaction Required
|
||||
|
||||
Due to browser and Flash security restrictions, this clipboard injection can _**ONLY**_ occur when
|
||||
the user clicks on the invisible Flash movie. A simulated `click` event from JavaScript will not
|
||||
suffice as this would enable [clipboard poisoning](http://www.computerworld.com/s/article/9117268/Adobe_patches_Flash_clickjacking_and_clipboard_poisoning_bugs).
|
||||
|
||||
### Other Limitations
|
||||
|
||||
For a complete list of limitations, see [docs/instructions.md#limitations](docs/instructions.md#limitations).
|
||||
|
||||
|
||||
## Simple Example
|
||||
|
||||
```html
|
||||
<html>
|
||||
<body>
|
||||
<button id="copy-button" data-clipboard-text="Copy Me!" title="Click to copy me.">Copy to Clipboard</button>
|
||||
<script src="ZeroClipboard.js"></script>
|
||||
<script src="main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
```js
|
||||
// main.js
|
||||
var client = new ZeroClipboard( document.getElementById("copy-button") );
|
||||
|
||||
client.on( "ready", function( readyEvent ) {
|
||||
// alert( "ZeroClipboard SWF is ready!" );
|
||||
|
||||
client.on( "aftercopy", function( event ) {
|
||||
// `this` === `client`
|
||||
// `event.target` === the element that was clicked
|
||||
event.target.style.display = "none";
|
||||
alert("Copied text to clipboard: " + event.data["text/plain"] );
|
||||
} );
|
||||
} );
|
||||
```
|
||||
|
||||
See [docs/instructions.md](docs/instructions.md) for more advanced options in using the library on your site.
|
||||
See [docs/api/ZeroClipboard.md](docs/api/ZeroClipboard.md) for the complete API documentation.
|
||||
|
||||
Here is a working [test page](http://zeroclipboard.org/#demo) where you can try out ZeroClipboard in your browser.
|
||||
|
||||
|
||||
## Testing ZeroClipboard Locally
|
||||
|
||||
To test the page [demo page](http://zeroclipboard.org/#demo) locally, clone the [website repo](https://github.com/zeroclipboard/zeroclipboard.org).
|
||||
|
||||
|
||||
## Support
|
||||
|
||||
This library is fully compatible with Flash Player 11.0.0 and above, which requires
|
||||
that the clipboard copy operation be initiated by a user click event inside the
|
||||
Flash movie. This is achieved by automatically floating the invisible movie on top
|
||||
of a [DOM](http://en.wikipedia.org/wiki/Document_Object_Model) element of your
|
||||
choice. Standard mouse events are even propagated out to your DOM element, so you
|
||||
can still have rollover and mousedown effects with just a _little_ extra effort.
|
||||
|
||||
ZeroClipboard `v2.x` is expected to work in IE9+ and all of the evergreen browsers.
|
||||
Although support for IE7 & IE8 was officially dropped in `v2.0.0`, it was actually
|
||||
still _technically_ supported through `v2.0.2`.
|
||||
|
||||
## Contributing
|
||||
|
||||
see [CONTRIBUTING.md](CONTRIBUTING.md)
|
||||
|
||||
|
||||
## Releases
|
||||
|
||||
Starting with version [1.1.7](https://github.com/zeroclipboard/zeroclipboard/releases/tag/v1.1.7), ZeroClipboard uses [semantic versioning](http://semver.org/).
|
||||
|
||||
see [releases](https://github.com/zeroclipboard/zeroclipboard/releases)
|
||||
|
||||
|
||||
## Roadmap
|
||||
|
||||
see [roadmap.md](docs/roadmap.md)
|
1913
phpgwapi/js/zeroclipboard/dist/ZeroClipboard.Core.js
vendored
1913
phpgwapi/js/zeroclipboard/dist/ZeroClipboard.Core.js
vendored
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2478
phpgwapi/js/zeroclipboard/dist/ZeroClipboard.js
vendored
2478
phpgwapi/js/zeroclipboard/dist/ZeroClipboard.js
vendored
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
BIN
phpgwapi/js/zeroclipboard/dist/ZeroClipboard.swf
vendored
BIN
phpgwapi/js/zeroclipboard/dist/ZeroClipboard.swf
vendored
Binary file not shown.
Loading…
Reference in New Issue
Block a user