From a5daed0aa816c4ecbb6857cf747cb2cbf45c8db5 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 10 Mar 2011 10:28:08 -0600 Subject: [PATCH] load jquery-ui css and js by default --- .../smoothness/{jquery-ui-1.8.10.custom.css => jquery-ui.css} | 0 lib/action.php | 3 +++ 2 files changed, 3 insertions(+) rename js/css/smoothness/{jquery-ui-1.8.10.custom.css => jquery-ui.css} (100%) diff --git a/js/css/smoothness/jquery-ui-1.8.10.custom.css b/js/css/smoothness/jquery-ui.css similarity index 100% rename from js/css/smoothness/jquery-ui-1.8.10.custom.css rename to js/css/smoothness/jquery-ui.css diff --git a/lib/action.php b/lib/action.php index 0ba4b8b8ff..7614f4be3a 100644 --- a/lib/action.php +++ b/lib/action.php @@ -222,6 +222,8 @@ class Action extends HTMLOutputter // lawsuit Event::handle('EndShowLaconicaStyles', array($this)); } + $this->cssLink(common_path('js/css/smoothness/jquery-ui.css')); + if (Event::handle('StartShowUAStyles', array($this))) { $this->comment('[if IE]>script('jquery.min.js'); $this->script('jquery.form.min.js'); + $this->script('jquery-ui.min.js'); $this->script('jquery.cookie.min.js'); $this->inlineScript('if (typeof window.JSON !== "object") { $.getScript("'.common_path('js/json2.min.js').'"); }'); $this->script('jquery.joverlay.min.js');