Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-conte.../themes/Divi/includes/builder/scripts/ext
File: jquery-ui-timepicker-addon.js
*/
[2000] Fix | Delete
$.timepicker.datetimeRange = function (startTime, endTime, options) {
[2001] Fix | Delete
$.timepicker.handleRange('datetimepicker', startTime, endTime, options);
[2002] Fix | Delete
};
[2003] Fix | Delete
[2004] Fix | Delete
/**
[2005] Fix | Delete
* Calls `datepicker` on the `startTime` and `endTime` elements, and configures them to
[2006] Fix | Delete
* enforce date range limits.
[2007] Fix | Delete
* @param {Element} startTime
[2008] Fix | Delete
* @param {Element} endTime
[2009] Fix | Delete
* @param {Object} options Options for the `timepicker()` call. Also supports `reformat`,
[2010] Fix | Delete
* a boolean value that can be used to reformat the input values to the `dateFormat`.
[2011] Fix | Delete
* @return {jQuery}
[2012] Fix | Delete
*/
[2013] Fix | Delete
$.timepicker.dateRange = function (startTime, endTime, options) {
[2014] Fix | Delete
$.timepicker.handleRange('datepicker', startTime, endTime, options);
[2015] Fix | Delete
};
[2016] Fix | Delete
[2017] Fix | Delete
/**
[2018] Fix | Delete
* Calls `method` on the `startTime` and `endTime` elements, and configures them to
[2019] Fix | Delete
* enforce date range limits.
[2020] Fix | Delete
* @param {string} method Can be used to specify the type of picker to be added
[2021] Fix | Delete
* @param {Element} startTime
[2022] Fix | Delete
* @param {Element} endTime
[2023] Fix | Delete
* @param {Object} options Options for the `timepicker()` call. Also supports `reformat`,
[2024] Fix | Delete
* a boolean value that can be used to reformat the input values to the `dateFormat`.
[2025] Fix | Delete
* @return {jQuery}
[2026] Fix | Delete
*/
[2027] Fix | Delete
$.timepicker.handleRange = function (method, startTime, endTime, options) {
[2028] Fix | Delete
options = $.extend({}, {
[2029] Fix | Delete
minInterval: 0, // min allowed interval in milliseconds
[2030] Fix | Delete
maxInterval: 0, // max allowed interval in milliseconds
[2031] Fix | Delete
start: {}, // options for start picker
[2032] Fix | Delete
end: {} // options for end picker
[2033] Fix | Delete
}, options);
[2034] Fix | Delete
[2035] Fix | Delete
function checkDates(changed, other) {
[2036] Fix | Delete
var startdt = startTime[method]('getDate'),
[2037] Fix | Delete
enddt = endTime[method]('getDate'),
[2038] Fix | Delete
changeddt = changed[method]('getDate');
[2039] Fix | Delete
[2040] Fix | Delete
if (startdt !== null) {
[2041] Fix | Delete
var minDate = new Date(startdt.getTime()),
[2042] Fix | Delete
maxDate = new Date(startdt.getTime());
[2043] Fix | Delete
[2044] Fix | Delete
minDate.setMilliseconds(minDate.getMilliseconds() + options.minInterval);
[2045] Fix | Delete
maxDate.setMilliseconds(maxDate.getMilliseconds() + options.maxInterval);
[2046] Fix | Delete
[2047] Fix | Delete
if (options.minInterval > 0 && minDate > enddt) { // minInterval check
[2048] Fix | Delete
endTime[method]('setDate', minDate);
[2049] Fix | Delete
}
[2050] Fix | Delete
else if (options.maxInterval > 0 && maxDate < enddt) { // max interval check
[2051] Fix | Delete
endTime[method]('setDate', maxDate);
[2052] Fix | Delete
}
[2053] Fix | Delete
else if (startdt > enddt) {
[2054] Fix | Delete
other[method]('setDate', changeddt);
[2055] Fix | Delete
}
[2056] Fix | Delete
}
[2057] Fix | Delete
}
[2058] Fix | Delete
[2059] Fix | Delete
function selected(changed, other, option) {
[2060] Fix | Delete
if (!changed.val()) {
[2061] Fix | Delete
return;
[2062] Fix | Delete
}
[2063] Fix | Delete
var date = changed[method].call(changed, 'getDate');
[2064] Fix | Delete
if (date !== null && options.minInterval > 0) {
[2065] Fix | Delete
if (option === 'minDate') {
[2066] Fix | Delete
date.setMilliseconds(date.getMilliseconds() + options.minInterval);
[2067] Fix | Delete
}
[2068] Fix | Delete
if (option === 'maxDate') {
[2069] Fix | Delete
date.setMilliseconds(date.getMilliseconds() - options.minInterval);
[2070] Fix | Delete
}
[2071] Fix | Delete
}
[2072] Fix | Delete
if (date.getTime) {
[2073] Fix | Delete
other[method].call(other, 'option', option, date);
[2074] Fix | Delete
}
[2075] Fix | Delete
}
[2076] Fix | Delete
[2077] Fix | Delete
$.fn[method].call(startTime, $.extend({
[2078] Fix | Delete
onClose: function (dateText, inst) {
[2079] Fix | Delete
checkDates($(this), endTime);
[2080] Fix | Delete
},
[2081] Fix | Delete
onSelect: function (selectedDateTime) {
[2082] Fix | Delete
selected($(this), endTime, 'minDate');
[2083] Fix | Delete
}
[2084] Fix | Delete
}, options, options.start));
[2085] Fix | Delete
$.fn[method].call(endTime, $.extend({
[2086] Fix | Delete
onClose: function (dateText, inst) {
[2087] Fix | Delete
checkDates($(this), startTime);
[2088] Fix | Delete
},
[2089] Fix | Delete
onSelect: function (selectedDateTime) {
[2090] Fix | Delete
selected($(this), startTime, 'maxDate');
[2091] Fix | Delete
}
[2092] Fix | Delete
}, options, options.end));
[2093] Fix | Delete
[2094] Fix | Delete
checkDates(startTime, endTime);
[2095] Fix | Delete
selected(startTime, endTime, 'minDate');
[2096] Fix | Delete
selected(endTime, startTime, 'maxDate');
[2097] Fix | Delete
return $([startTime.get(0), endTime.get(0)]);
[2098] Fix | Delete
};
[2099] Fix | Delete
[2100] Fix | Delete
/**
[2101] Fix | Delete
* Log error or data to the console during error or debugging
[2102] Fix | Delete
* @param {Object} err pass any type object to log to the console during error or debugging
[2103] Fix | Delete
* @return {void}
[2104] Fix | Delete
*/
[2105] Fix | Delete
$.timepicker.log = function (err) {
[2106] Fix | Delete
if (window.console) {
[2107] Fix | Delete
window.console.log(err);
[2108] Fix | Delete
}
[2109] Fix | Delete
};
[2110] Fix | Delete
[2111] Fix | Delete
/*
[2112] Fix | Delete
* Add util object to allow access to private methods for testability.
[2113] Fix | Delete
*/
[2114] Fix | Delete
$.timepicker._util = {
[2115] Fix | Delete
_extendRemove: extendRemove,
[2116] Fix | Delete
_isEmptyObject: isEmptyObject,
[2117] Fix | Delete
_convert24to12: convert24to12,
[2118] Fix | Delete
_detectSupport: detectSupport,
[2119] Fix | Delete
_selectLocalTimezone: selectLocalTimezone,
[2120] Fix | Delete
_computeEffectiveSetting: computeEffectiveSetting,
[2121] Fix | Delete
_splitDateTime: splitDateTime,
[2122] Fix | Delete
_parseDateTimeInternal: parseDateTimeInternal
[2123] Fix | Delete
};
[2124] Fix | Delete
[2125] Fix | Delete
/*
[2126] Fix | Delete
* Microsecond support
[2127] Fix | Delete
*/
[2128] Fix | Delete
if (!Date.prototype.getMicroseconds) {
[2129] Fix | Delete
Date.prototype.microseconds = 0;
[2130] Fix | Delete
Date.prototype.getMicroseconds = function () { return this.microseconds; };
[2131] Fix | Delete
Date.prototype.setMicroseconds = function (m) {
[2132] Fix | Delete
this.setMilliseconds(this.getMilliseconds() + Math.floor(m / 1000));
[2133] Fix | Delete
this.microseconds = m % 1000;
[2134] Fix | Delete
return this;
[2135] Fix | Delete
};
[2136] Fix | Delete
}
[2137] Fix | Delete
[2138] Fix | Delete
/*
[2139] Fix | Delete
* Keep up with the version
[2140] Fix | Delete
*/
[2141] Fix | Delete
$.timepicker.version = "1.4.3";
[2142] Fix | Delete
[2143] Fix | Delete
})(jQuery);
[2144] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function