Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Urvil Shah
/
MobEasyEditor
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b4c93d26
authored
Mar 29, 2018
by
Urvil Shah
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Santizie the Url and avoid encoding.
parent
9c697ddc
Pipeline
#7218
passed with stages
in 22 minutes 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
Mobile.Search.Web/Views/Template/FroalaIndex.cshtml
Mobile.Search.Web/Views/Template/FroalaIndex.cshtml
View file @
b4c93d26
...
...
@@ -228,6 +228,21 @@
// .froalaEditor()
//});
$
(
document
).
ready
(
function
()
{
var
original_helpers
=
$
.
FE
.
MODULES
.
helpers
;
$
.
FE
.
MODULES
.
helpers
=
function
(
editor
)
{
var
helpers
=
original_helpers
(
editor
);
var
isURL
=
helpers
.
isURL
();
// This is the original sanitizer.
helpers
.
sanitizeURL
=
function
(
url
)
{
console
.
log
(
'hello :)'
)
return
url
;
};
return
helpers
;
}
$
(
'#sent_to_email'
).
hide
();
$
(
'#sent_to_email_failed'
).
hide
();
$
.
get
(
"/Template/S3Signature"
,
{})
...
...
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