Commit 66810dfe7f4d60db231049d41d011aa43fa6cf8c
1 parent
c159e792
Merged in from DEV trunk...
WSA-114 "Uploading a document via hot folders, not specifying the Date Created and Date Modified the server inserts its own random date." Fixed. Committed By: Conrad Vermeulen Reviewed By: Megan Watson WSA-118 "Java proxy objects experiencing exceptions" Fixed. Committed By: Conrad Vermeulen Reviewed By: Megan Watson KTS-3199 "Cannot scroll to the right or left on the workflow configuration page of a large workflow" Fixed. Wrapped the workflow table a div with scrolling. Committed By: Jonathan Byrne Reviewed By: Megan Watson git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/trunk@8299 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
10 additions
and
3 deletions
ktapi/KTAPIDocument.inc.php
| ... | ... | @@ -1159,10 +1159,10 @@ class KTAPI_Document extends KTAPI_FolderItem |
| 1159 | 1159 | $indexContent = $value; |
| 1160 | 1160 | break; |
| 1161 | 1161 | case 'created_date': |
| 1162 | - $documents['created'] = $value; | |
| 1162 | + if (!empty($value)) $documents['created'] = $value; | |
| 1163 | 1163 | break; |
| 1164 | 1164 | case 'modified_date': |
| 1165 | - $documents['modified'] = $value; | |
| 1165 | + if (!empty($value)) $documents['modified'] = $value; | |
| 1166 | 1166 | break; |
| 1167 | 1167 | case 'is_immutable': |
| 1168 | 1168 | $documents['immutable'] = in_array(strtolower($value), array('1','true','on','yes'))?'1':'0'; |
| ... | ... | @@ -1645,6 +1645,12 @@ class KTAPI_Document extends KTAPI_FolderItem |
| 1645 | 1645 | // get the storage path |
| 1646 | 1646 | $detail['storage_path'] = $document->getStoragePath(); |
| 1647 | 1647 | |
| 1648 | + if ($wsversion >= 2) | |
| 1649 | + { | |
| 1650 | + unset($detail['updated_by']); | |
| 1651 | + unset($detail['updated_date']); | |
| 1652 | + } | |
| 1653 | + | |
| 1648 | 1654 | return $detail; |
| 1649 | 1655 | } |
| 1650 | 1656 | ... | ... |
templates/ktcore/workflow/admin/new_wizard_step2.smarty
| ... | ... | @@ -9,6 +9,7 @@ states. Use the table below to configure this behaviour.{/i18n}</p> |
| 9 | 9 | <input type="hidden" name="{$k}" value="{$v}" /> |
| 10 | 10 | {/foreach} |
| 11 | 11 | <input type="hidden" name="fWizardKey" value="{$fWizardKey}" /> |
| 12 | + <div style="overflow:scroll"> | |
| 12 | 13 | <table class="kt_collection" cellspacing="0"> |
| 13 | 14 | <thead> |
| 14 | 15 | <tr> |
| ... | ... | @@ -35,7 +36,7 @@ states. Use the table below to configure this behaviour.{/i18n}</p> |
| 35 | 36 | {/foreach} |
| 36 | 37 | </tbody> |
| 37 | 38 | </table> |
| 38 | - | |
| 39 | + </div> | |
| 39 | 40 | |
| 40 | 41 | <div class="form_actions"> |
| 41 | 42 | <input type="submit" value="{i18n}Create Workflow{/i18n}" /> | ... | ... |