diff options
author | zhangab <zhanganbing@chinamobile.com> | 2018-04-18 09:11:56 +0800 |
---|---|---|
committer | zhangab <zhanganbing@chinamobile.com> | 2018-04-18 09:12:03 +0800 |
commit | d698af153772ca4351ad3b23fbb987fc749890af (patch) | |
tree | 8fa49f10523134f9596814ef7a30528e298ac660 /usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-samplePages/frame_insert.html | |
parent | ffffd8a35ae5fcea703a7427844037c07c232b92 (diff) |
Fix Security/Vulnerability problems
Change-Id: Ie0f2c9e0794941d9b9a7f00a6c3d349269d98ed1
Issue-ID: USECASEUI-104
Signed-off-by: zhangab <zhanganbing@chinamobile.com>
Diffstat (limited to 'usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-samplePages/frame_insert.html')
-rw-r--r-- | usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-samplePages/frame_insert.html | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-samplePages/frame_insert.html b/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-samplePages/frame_insert.html deleted file mode 100644 index 5c2e45f9..00000000 --- a/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-samplePages/frame_insert.html +++ /dev/null @@ -1,27 +0,0 @@ -<div>test</div> - -<iframe id="frame_insert" src="net_map_int"></iframe> - -<script type="text/javascript"> - - var frameId = "#frame_insert"; - - $(frameId).load(function(){ - iframeLoaded() - - }); - - - function iframeLoaded() { - var iFrameRef = $(frameId); - if(iFrameRef) { - - var height = iFrameRef.contents().find("input[name='inner_height']"); - var width = iFrameRef.contents().find("input[name='inner_width']"); - - iFrameRef.css('height', (height.val() != undefined ? height.val():"500px")); - iFrameRef.css('width', (width.val() != undefined ? width.val():"500px")); - iFrameRef.css('border','none'); - } - } -</script>
\ No newline at end of file |