Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #30 from industrydive/TECH-2967-fix-placeholder-im…
Browse files Browse the repository at this point in the history
…g-url

TECH-2967: Fix pullquote placeholder image URL
  • Loading branch information
dbarbar authored Nov 7, 2017
2 parents b2097bc + 34365fa commit 41d9868
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ CKEDITOR.dialog.add('divepullquote', function(editor){
// Placeholder to set empty img src to before we hide it. We can't just remove
// the img if the src is empty bc editors might want to add an img later and the
// element still needs to be there.
var placeholder = 'https://d12v9rtnomnebu.cloudfront.net/dive_static/diveimages/corporate_site/teampage/square_profiles/placeholder-200.png';
var placeholder = 'https://d12v9rtnomnebu.cloudfront.net/diveimages/corporate_site/teampage/square_profiles/placeholder-200.png';

//checks for an empty value or one space so we can delete image
if(this.getValue() === '' || this.getValue() === ' ' || this.getValue() == placeholder){
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def get_source_files():

setup(
name='django-ckeditor',
version='4.4.7+dive.ckeditor.7',
version='4.4.7+dive.ckeditor.8',
description='Django admin CKEditor integration.',
long_description=open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(),
author='Shaun Sephton & Piotr Malinski',
Expand Down

0 comments on commit 41d9868

Please sign in to comment.