Commit 2770a7a7 authored by Alexander.Trofimov's avatar Alexander.Trofimov

refactoring check watermark_on_draw

parent 6afa1174
...@@ -167,8 +167,8 @@ ...@@ -167,8 +167,8 @@
this.signatures = []; this.signatures = [];
//config['watermark_on_draw'] = window.TEST_WATERMARK_STRING; //config['watermark_on_draw'] = window.TEST_WATERMARK_STRING;
this.watermarkDraw = ((config['watermark_on_draw'] !== undefined) && (config['watermark_on_draw'] != "")) ? this.watermarkDraw =
new AscCommon.CWatermarkOnDraw(config['watermark_on_draw']) : null; config['watermark_on_draw'] ? new AscCommon.CWatermarkOnDraw(config['watermark_on_draw']) : null;
return this; return this;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment