Commit 2a30e4325c61db4205ee5d48a9918e6d32e8f02b
1 parent
fb0bd9a0
Brand server without requiring access to FS
PT: 1243391 KTWidgets file changed to include jQuery selectImage plugin Updated by: Charl Joseph Mert
Showing
1 changed file
with
5 additions
and
2 deletions
plugins/ktcore/KTWidgets.php
| ... | ... | @@ -1165,6 +1165,8 @@ class KTCoreImageSelectWidget extends KTWidget { |
| 1165 | 1165 | $oTemplate = $oTemplating->loadTemplate('ktcore/forms/widgets/base'); |
| 1166 | 1166 | |
| 1167 | 1167 | $this->aJavascript[] = 'thirdpartyjs/jquery/jquery-1.3.2.js'; |
| 1168 | + $this->aJavascript[] = 'thirdpartyjs/jquery/plugins/selectimage/jquery.selectimage.js'; | |
| 1169 | + $this->aJavascript[] = 'resources/js/kt_selectimage.js'; | |
| 1168 | 1170 | |
| 1169 | 1171 | if (!empty($this->aJavascript)) { |
| 1170 | 1172 | // grab our inner page. |
| ... | ... | @@ -1172,14 +1174,15 @@ class KTCoreImageSelectWidget extends KTWidget { |
| 1172 | 1174 | $oPage->requireJSResources($this->aJavascript); |
| 1173 | 1175 | } |
| 1174 | 1176 | |
| 1175 | - $this->aCSS[] = 'resources/css/kt_imageselect.css'; | |
| 1177 | + //$this->aCSS[] = 'resources/css/kt_imageselect.css'; | |
| 1178 | + $this->aCSS[] = 'thirdpartyjs/jquery/plugins/selectimage/css/selectimage.css'; | |
| 1176 | 1179 | |
| 1177 | 1180 | if (!empty($this->aCSS)) { |
| 1178 | 1181 | // grab our inner page. |
| 1179 | 1182 | $oPage =& $GLOBALS['main']; |
| 1180 | 1183 | $oPage->requireCSSResources($this->aCSS); |
| 1181 | 1184 | } |
| 1182 | - | |
| 1185 | + | |
| 1183 | 1186 | $widget_content = $this->getWidget(); |
| 1184 | 1187 | |
| 1185 | 1188 | $aTemplateData = array( | ... | ... |