Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Usman
PERFORMA_REPLICA
Commits
72bd86e5
Commit
72bd86e5
authored
Nov 30, 2018
by
Saliya Randunu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
S12521571 # Client - Incoming Issues (raised by Client) #Copy Job Ad does not work
parent
390b7a26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
created_job.jsp
cmsWebApp/webroot/extensions/adminportal/created_job.jsp
+18
-3
No files found.
cmsWebApp/webroot/extensions/adminportal/created_job.jsp
View file @
72bd86e5
...
...
@@ -31,6 +31,21 @@
document.body.removeChild(aux);
alert(which + " copied to clipboard");
}
function copyHTMLToClip(ele) {
str = $(ele).html().trim();
function listener(e) {
e.clipboardData.setData("text/html", str);
e.clipboardData.setData("text/plain", str);
e.preventDefault();
}
document.addEventListener("copy", listener);
document.execCommand("copy");
document.removeEventListener("copy", listener);
alert("Text copied to clipboard");
};
</script>
<oneit:form name="editJob" method="post" enctype="multipart/form-data">
...
...
@@ -91,17 +106,17 @@
<span>
Sample job advertisement text
</span>
<a class="copy-to-clipboard" onclick="copy
ToClipboard('Text' ,
'.details-box')">
<a class="copy-to-clipboard" onclick="copy
HTMLToClip(
'.details-box')">
COPY TO CLIPBOARD
</a>
</div>
<div class="details-box">
<p><oneit:toString value="<%= job.getJobDescription() %>" mode="ParagraphHTML" /></p>
<
strong>Organisation Culture Statement</strong
>
<
b>Organisation Culture Statement</b
>
<p><oneit:toString value="<%= job.getCultureStatement() %>" mode="ParagraphHTML" /></p>
<
strong>Requirements</strong
>
<
b>Requirements</b
>
<ul>
<%
for (AssessmentCriteria criteria : job.getAssessmentCriteriasSet())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment