From 64f2d4baa9ecebd347b29d03679cfc001b4ef99e Mon Sep 17 00:00:00 2001 From: dheeyi Date: Tue, 17 Mar 2015 18:03:25 -0400 Subject: [PATCH] PM-1747 and PM-1748 El Window del editor de html de Output Documents no se muestra por completo causa : Definida de esa manera. solucion : Adecuar las propiedades de acuerdo a al requerimiento --- .../plugins/inlinepopups/skins/clearlooks2/window.css | 2 +- .../jscripts/tiny_mce/themes/advanced/js/source_editor.js | 2 +- workflow/engine/methods/cases/casesListExtJs.php | 6 +----- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/gulliver/js/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css b/gulliver/js/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css index 78edc04dc..5ced51ca7 100644 --- a/gulliver/js/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +++ b/gulliver/js/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css @@ -4,7 +4,7 @@ .clearlooks2, .clearlooks2 div, .clearlooks2 span, .clearlooks2 a {vertical-align:baseline; text-align:left; position:absolute; border:0; padding:0; margin:0; background:transparent; font-family:Arial,Verdana; font-size:11px; color:#000; text-decoration:none; font-weight:normal; width:auto; height:auto; overflow:hidden; display:block} /* General */ -.clearlooks2 {position :fixed; direction:ltr; top:10px !important;height:550px !important;} +.clearlooks2 {position:fixed !important; direction:ltr; top:20px !important;height:552px !important;} .clearlooks2 .mceWrapper {position:static} .mceEventBlocker {position:fixed; left:0; top:0; background:url(img/horizontal.gif) no-repeat 0 -75px; width:100%; height:100%} .clearlooks2 .mcePlaceHolder {border:1px solid #000; background:#888; top:0; left:0; opacity:0.5; -ms-filter:'alpha(opacity=50)'; filter:alpha(opacity=50)} diff --git a/gulliver/js/tinymce/jscripts/tiny_mce/themes/advanced/js/source_editor.js b/gulliver/js/tinymce/jscripts/tiny_mce/themes/advanced/js/source_editor.js index 3f1b44253..a811423b5 100644 --- a/gulliver/js/tinymce/jscripts/tiny_mce/themes/advanced/js/source_editor.js +++ b/gulliver/js/tinymce/jscripts/tiny_mce/themes/advanced/js/source_editor.js @@ -73,6 +73,6 @@ function resizeInputs() { if (el) { el.style.width = (vp.w - 20) + 'px'; - el.style.height = (vp.h - 120) + 'px'; + el.style.height = (vp.h - 122) + 'px'; } } diff --git a/workflow/engine/methods/cases/casesListExtJs.php b/workflow/engine/methods/cases/casesListExtJs.php index 89dc0043d..09b192b47 100755 --- a/workflow/engine/methods/cases/casesListExtJs.php +++ b/workflow/engine/methods/cases/casesListExtJs.php @@ -213,15 +213,11 @@ $menuPerms = $menuPerms . ($RBAC->userCanAccess( 'PM_REASSIGNCASE' ) == 1) ? 'R' $oHeadPublisher->assign( '___p34315105', $menuPerms ); // user menu permissions G::LoadClass( 'configuration' ); $c = new Configurations(); -$dateFormat = $c->getFormats(); -if (SYS_LANG == 'en' || SYS_LANG == 'en-US') { - $dateFormat['casesListDateFormat']=str_replace(' \\d\\e ', ' \\o\\f ', $dateFormat['casesListDateFormat']); -} //$oHeadPublisher->addExtJsScript('cases/caseUtils', true); $oHeadPublisher->addExtJsScript( 'app/main', true ); $oHeadPublisher->addExtJsScript( 'cases/casesList', false ); //adding a javascript file .js $oHeadPublisher->addContent( 'cases/casesListExtJs' ); //adding a html file .html. -$oHeadPublisher->assign( 'FORMATS', $dateFormat ); +$oHeadPublisher->assign( 'FORMATS', $c->getFormats() ); G::RenderPage( 'publish', 'extJs' ); function getUserArray ($action, $userUid)