Skip to content

bug #14804 : The textarea in the modal window stays now in the limits… #1410

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions core-war/src/main/webapp/directory/jsp/directory.jsp
Original file line number Diff line number Diff line change
@@ -84,6 +84,7 @@
<view:sp-page>
<view:sp-head-part>
<link type="text/css" rel="stylesheet" href='<c:url value="/directory/jsp/css/print.css" />' media="print"/>
<view:link href="/util/styleSheets/fieldset.css"/>
<script type="text/javascript" src="<c:url value="/util/javaScript/jquery/jquery.cookie.js"/>"></script>
<% if (extraForm != null) {
extraForm.displayScripts(out, extraFormContext);
27 changes: 14 additions & 13 deletions core-war/src/main/webapp/util/javaScript/silverpeas-relationship.js
Original file line number Diff line number Diff line change
@@ -217,21 +217,22 @@
if ($("#invitationDialog").length === 0) {
$('<div>', {
'id': 'invitationDialog'
}).append($('<form>').append($('<table>').append($('<tr>').
append($('<td>').addClass('txtlibform').append(LABEL_MESSAGE + '&nbsp;:')).
append($('<td>').append($('<textarea>', {
'name': 'textMessage',
'id': 'invitation-message',
'cols': '60',
'rows': '8'
})))))).appendTo($(document.body));
}).
append($('<form id="popupHelperContainer">').append($('<div class=\"skinFieldset\">').append($('<div class=\"fields\">').
append($('<div id="invitation-message-container">').addClass('field entireWidth').
append($('<label for="invitation-message">').addClass('txtlibform').append(LABEL_MESSAGE + '&nbsp;:')).
append($('<div>').addClass('champs').append($('<textarea>', {
'name': 'textMessage',
'id': 'invitation-message',
'rows': '8'
}))))))).appendTo($(document.body));

$("#invitationDialog").dialog({
autoOpen: false,
resizable: false,
resizable: true,
modal: true,
height: "auto",
width: 550,
width: 600,
buttons: [
{
text: LABEL_OK,
@@ -280,7 +281,7 @@

$( "#invitationCancelDialog" ).dialog({
autoOpen: false,
resizable: false,
resizable: true,
modal: true,
buttons: [{
text : LABEL_YES,
@@ -323,7 +324,7 @@

$( "#invitationAcceptDialog" ).dialog({
autoOpen: false,
resizable: false,
resizable: true,
modal: true,
buttons: [{
text : LABEL_YES,
@@ -365,7 +366,7 @@

$( "#relationDeleteDialog" ).dialog({
autoOpen: false,
resizable: false,
resizable: true,
modal: true,
buttons: [{
text : LABEL_YES,