Changeset 1379537
- Timestamp:
- 03/26/2016 07:50:13 PM (10 years ago)
- Location:
- ezflippr/trunk
- Files:
-
- 3 edited
-
ezflippr.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
resources/js/ezflippr.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ezflippr/trunk/ezflippr.php
r1359256 r1379537 4 4 * Plugin URI: http://www.nuagelab.com/wordpress-plugins/ezflippr 5 5 * Description: Adds rich flipbooks made from PDF through ezFlippr.com 6 * Version: 1.1.2 76 * Version: 1.1.28 7 7 * Author: NuageLab <wordpress-plugins@nuagelab.com> 8 8 * Author URI: http://www.nuagelab.com/wordpress-plugins -
ezflippr/trunk/readme.txt
r1359256 r1379537 89 89 90 90 == Changelog == 91 = 1.1.28 = 92 * Made "Add New" links point to site until flipbooks can be created from WordPress. 93 91 94 = 1.1.27 = 92 95 * Fix bug with PDF download. -
ezflippr/trunk/resources/js/ezflippr.js
r1348375 r1379537 1 1 (function($){ 2 2 $(document).ready(function(){ 3 // Replace add new links 4 var lang = String($('body').attr('lang')).substr(0,2); 5 var addLink = 'https://ezflippr.com'; 6 switch (lang) { 7 case 'fr': 8 case 'es': 9 addLink += '/'+lang; 10 break; 11 } 12 $('a').each(function(){ 13 var href = String($(this).attr('href')); 14 // http://wordpress-demo.localhost/wp-admin/post-new.php?post_type=ezflippr_flipbook 15 if (href.match(/post_type=ezflippr_flipbook/)) { 16 $(this).attr('href', addLink); 17 $(this).attr('target', '_blank'); 18 } 19 }); 20 21 // Have key/don't have key fields 3 22 $("input[name='ezflippr-field-havekey']").change(function(){ 4 23 var showEmail = $('#ezflippr-field-havekey-no:checked,#ezflippr-field-havekey-forgot:checked').length > 0; … … 19 38 $("#tr-key").hide(); 20 39 21 40 // Install / Uninstall / Reinstall 22 41 $('.ez-btn-install,.ez-btn-reinstall,.ez-btn-uninstall').click(function(ev) { 23 42 ev.preventDefault();
Note: See TracChangeset
for help on using the changeset viewer.