Changeset 1405481
- Timestamp:
- 04/27/2016 11:39:07 AM (10 years ago)
- Location:
- nutickets-events/trunk
- Files:
-
- 2 edited
-
nutickets-events.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nutickets-events/trunk/nutickets-events.php
r1366772 r1405481 5 5 Description: The Nutickets Events Plugin allows Nutickets' clients to embed their ticketshop and other Nutickets enabled pages to their website seamlessly. 6 6 Author: Nuweb Systems Ltd. 7 Version: 1.0. 37 Version: 1.0.4 8 8 Author URI: http://nutickets.com 9 9 License: GPL2 … … 190 190 if ($height === false || $height == '') { 191 191 $return .=' scrolling="no" height="1200px"'; 192 $script .= '<script type="text/javascript">var _nu_iframe=document.getElementById("nutickets-frame-'.$id.'");function setDialogSize(a){window.onresize&&window.onresize(); "'.esc_url($http).'"===a.origin||"'.esc_url($https).'"===a.origin?_nu_iframe.style.height=a.data+"px":(_nu_iframe.style.height=Math.min(900,Math.max(getHeight(),450))+"px",_nu_iframe.style.overflowY="scroll",_nu_iframe.setAttribute("scrolling","yes"))}window.addEventListener("message",setDialogSize,!1);_nu_iframe.addEventListener("load",nuScrollToiFrame);';192 $script .= '<script type="text/javascript">var _nu_iframe=document.getElementById("nutickets-frame-'.$id.'");function setDialogSize(a){window.onresize&&window.onresize();a.origin.match(/^http(s)?:\/\/(.*).nutickets.(com|co.za)(\/)?$/i)!==null?_nu_iframe.style.height=a.data+"px":(_nu_iframe.style.height=Math.min(900,Math.max(getHeight(),450))+"px",_nu_iframe.style.overflowY="scroll",_nu_iframe.setAttribute("scrolling","yes"))}window.addEventListener("message",setDialogSize,!1);_nu_iframe.addEventListener("load",nuScrollToiFrame);'; 193 193 if ($autoscroll) { 194 194 $script .= 'function nuScrollToiFrame(){var a=0,b=_nu_iframe;if(b.offsetParent){do a+=b.offsetTop;while(b=b.offsetParent)}else a=_nu_iframe.offsetTop;"undefined"==typeof jQuery?window.scrollTo(0,a):jQuery("html, body").animate({scrollTop:a},800)}'; -
nutickets-events/trunk/readme.txt
r1366772 r1405481 3 3 Tags: nutickets, ticketing, preregistration, ticket sales, sell 4 4 Requires at least: 3.0.1 5 Tested up to: 4. 46 Stable tag: 4. 45 Tested up to: 4.5.1 6 Stable tag: 4.5.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 71 71 == Changelog == 72 72 73 = 1.0.4 = 74 75 Better support for iframe resize when current company's box office is connected to another Nutickets box office 76 73 77 = 1.0.3 = 74 78
Note: See TracChangeset
for help on using the changeset viewer.