diff --git a/app/templates/element/javascript.php b/app/templates/element/javascript.php index 5adbd024a..f75048ac7 100644 --- a/app/templates/element/javascript.php +++ b/app/templates/element/javascript.php @@ -177,7 +177,8 @@ that approach doesn't work well with Material Design Light (MDL). If you do not do this, the datepicker will float up to the top of the browser window. See app/View/CoGroupMembers for an example. */ ?> - + +/* XXX CFM-107 Hide datepickers until replaced with new approach $(".datepicker-f").datepicker({ changeMonth: true, changeYear: true, @@ -207,22 +208,7 @@ }).bind('click',function () { $("#ui-datepicker-div").appendTo($(this).closest('.modelbox-data')); }); - - // Dialog - // This generic dialog gets modified by the calling function - $("#dialog").dialog({ - autoOpen: false, - resizable: false, - modal: true, - buttons: { - '': function() { - $(this).dialog('close'); - }, - '': function() { - $(this).dialog('close'); - } - } - }); +*/ // Add loading animation when a form is submitted, when any item with a "spin" class is clicked, // or on any button or anchor tag lacking the .nospin class. @@ -236,13 +222,7 @@ } }); - - // Flash Messages - Flash->render('error'); - print $this->Flash->render('success'); - print $this->Flash->render('information'); - ?> + }); // Define default text for confirm dialog @@ -251,3 +231,5 @@ var defaultConfirmTitle = ""; + +Flash->render() ?> \ No newline at end of file