PluginProbe
VikBooking Hotel Booking Engine & PMS / 1.8.16
VikBooking Hotel Booking Engine & PMS v1.8.16
1.8.16 1.8.15 1.8.14 1.8.13 1.8.12 1.8.11 1.8.10 1.8.9 1.8.6 1.8.7 1.8.8 trunk 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 All 37 releases
← All changes | libraries/adapter/html/html.php +12 -6 1.6.8 → 1.8.16 View file →
@@ -329,15 +329,21 @@
329 329 }
330 330 else if (preg_match("/jquery-ui\.sortable\.min\.js$/", $uri))
331 331 {
332 332 $attribs['id'] = 'jquery-ui-sortable';
333 - // load jQuery Sortable add-on
333 + // load jQuery UI Sortable add-on
334 334 $document->addScript(null, $options, $attribs);
335 335 }
336 + else if (preg_match("/jquery-ui\.draggable\.min\.js$/", $uri))
337 + {
338 + $attribs['id'] = 'jquery-ui-draggable';
339 + // load jQuery UI Draggable add-on
340 + $document->addScript(null, $options, $attribs);
341 + }
336 342 else if (preg_match("/jquery-ui\.slider\.min\.js$/", $uri))
337 343 {
338 344 $attribs['id'] = 'jquery-ui-slider';
339 - // load jQuery Slider add-on
345 + // load jQuery UI Slider add-on
340 346 $document->addScript(null, $options, $attribs);
341 347 }
342 348 else
343 349 {
@@ -510,9 +516,9 @@
510 516 * Add support for timestamp and JDate instances.
511 517 *
512 518 * @since 10.1.16
513 519 */
514 - if (preg_match("/^\d+$/", $value))
520 + if (preg_match("/^\d+$/", (string) $value))
515 521 {
516 522 // fetch timestamp
517 523 $value = date($format, $value);
518 524 }
@@ -535,10 +541,10 @@
535 541 $data['attr'] = $str;
536 542 $data['showTime'] = $showTime;
537 543
538 544 JFactory::getDocument()->addScriptDeclaration(
539 -<<<JS
540 -jQuery(document).ready(function() {
545 +<<<JAVASCRIPT
546 +jQuery(function() {
541 547
542 548 var sel_format = "$format";
543 549 var df_separator = sel_format[1];
544 550
@@ -559,9 +565,9 @@
559 565 jQuery('input[name="$name"]:input').next('i').click(function() {
560 566 jQuery('input[name="$name"]:input').focus();
561 567 });
562 568 });
563 -JS
569 +JAVASCRIPT
564 570 );
565 571
566 572 /**
567 573 * Render calendar layout.