Commit 4c9c1962d772372166475304e384f7bb61a1d5c5

Authored by Paul Barrett
1 parent d4930f48

Fix ordering of folder actions when Multi-select plugin enabled

Story ID:1321064. KTS-4403: With the 'Multi-select' plugin enabled the 'Folder actions' are out of order.

Fixed

Committed by: Paul Barrett
plugins/multiselect/BulkImport.php
... ... @@ -71,7 +71,7 @@ class InetBulkImportFolderMultiSelectAction extends KTFolderAction {
71 71 if (method_exists($oPage, 'requireJSResources')) {
72 72 $oPage->requireJSResources($aJavascript);
73 73 }
74   - return $js._kt('Import from Server Location');
  74 + return _kt('Import from Server Location') . $js;
75 75 }
76 76 else
77 77 {
... ...
plugins/multiselect/BulkUpload.php
... ... @@ -75,7 +75,7 @@ class InetBulkUploadFolderAction extends KTFolderAction {
75 75 }
76 76  
77 77 $js = "<script src='resources/js/kt_hidelink.js' type='text/javascript'></script>";
78   - return $js._kt('Bulk Upload');
  78 + return _kt('Bulk Upload') .$js;
79 79 }
80 80 else
81 81 {
... ...
plugins/multiselect/MultiSelectPlugin.php
... ... @@ -126,6 +126,7 @@ class MultiSelectPlugin extends KTPlugin {
126 126 'InetdocumentFieldsv2.php', null);
127 127 }
128 128 }
  129 +
129 130 $oPluginRegistry =& KTPluginRegistry::getSingleton();
130 131 $oPluginRegistry->registerPlugin('MultiSelectPlugin', 'inet.multiselect.lookupvalue.plugin', __FILE__);
131 132 ?>
132 133 \ No newline at end of file
... ...