From 774470933e2972536290f33fe28c55ff36a4d595 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Wed, 29 Apr 2015 20:44:27 -0600 Subject: [PATCH] CRM-16423 - Remove textarearesizer.js --- CRM/Core/Resources.php | 1 - css/civicrm.css | 17 ----------------- templates/CRM/Admin/Form/MessageTemplates.tpl | 2 +- templates/CRM/Mailing/Form/InsertTokens.tpl | 6 ++---- 4 files changed, 3 insertions(+), 23 deletions(-) diff --git a/CRM/Core/Resources.php b/CRM/Core/Resources.php index dd4cc0bd2e..58bb8b46cb 100644 --- a/CRM/Core/Resources.php +++ b/CRM/Core/Resources.php @@ -704,7 +704,6 @@ class CRM_Core_Resources { "bower_components/select2/select2$min.js", "bower_components/select2/select2$min.css", "packages/jquery/plugins/jquery.tableHeader.js", - "packages/jquery/plugins/jquery.textarearesizer.js", "packages/jquery/plugins/jquery.form$min.js", "packages/jquery/plugins/jquery.timeentry$min.js", "packages/jquery/plugins/jquery.blockUI$min.js", diff --git a/css/civicrm.css b/css/civicrm.css index ee95e8ce45..3ef285ae9d 100644 --- a/css/civicrm.css +++ b/css/civicrm.css @@ -1661,23 +1661,6 @@ input.crm-form-entityref { padding: 3px; } -/* class for text area resizer jquery plugin*/ -div.grippie { - background: #EEEEEE url('../i/grippie.png') no-repeat scroll center 2px; - border-color: #DDDDDD; - border-style: solid; - border-width: 0pt 1px 1px; - cursor: s-resize; - height: 9px; - overflow: hidden; -} -.crm-container .resizable-textarea textarea { - display: block; - margin-bottom: 0pt; - width: 95%; - height: 20%; -} - .crm-container ul li.crm-tab-button { border-bottom: 0 none; float: left; diff --git a/templates/CRM/Admin/Form/MessageTemplates.tpl b/templates/CRM/Admin/Form/MessageTemplates.tpl index 2f362dde80..13b9c7c970 100644 --- a/templates/CRM/Admin/Form/MessageTemplates.tpl +++ b/templates/CRM/Admin/Form/MessageTemplates.tpl @@ -72,7 +72,7 @@ {help id="id-token-html" tplFile=$tplFile isAdmin=$isAdmin file="CRM/Contact/Form/Task/Email.hlp"}
-
+
{$form.msg_html.html}
{ts}An HTML formatted version of this message will be sent to contacts whose Email Format preference is 'HTML' or 'Both'.{/ts} {ts 1=$tokenDocsRepeated}Tokens may be included (%1).{/ts}
diff --git a/templates/CRM/Mailing/Form/InsertTokens.tpl b/templates/CRM/Mailing/Form/InsertTokens.tpl index a711b1b76b..2b1f18361c 100644 --- a/templates/CRM/Mailing/Form/InsertTokens.tpl +++ b/templates/CRM/Mailing/Form/InsertTokens.tpl @@ -256,10 +256,8 @@ CRM.$(function($) { placeholder: '{/literal}{ts escape='js'}Tokens{/ts}{literal}' }); - $('.accordion .head').addClass( "ui-accordion-header ui-helper-reset ui-state-default ui-corner-all "); - $('.resizable-textarea textarea').css( 'width', '99%' ); - $('.grippie').css( 'margin-right', '3px'); - $('.accordion .head').hover( function() { $(this).addClass( "ui-state-hover"); + $('.accordion .head').addClass( "ui-accordion-header ui-helper-reset ui-state-default ui-corner-all ") + .hover( function() { $(this).addClass( "ui-state-hover"); }, function() { $(this).removeClass( "ui-state-hover"); }).bind('click', function() { var checkClass = $(this).find('span').attr( 'class' ); -- 2.25.1