changeset 305 | be8783adb3a8 |
parent 303 | a619b3ef3095 |
child 306 | 42f09aa2b24a |
--- a/org.symbian.tools.wrttools.previewer/preview/script/nokia.js Wed Apr 14 11:17:26 2010 -0700 +++ b/org.symbian.tools.wrttools.previewer/preview/script/nokia.js Wed Apr 14 14:54:13 2010 -0700 @@ -82,7 +82,12 @@ } } - $('iframe')[0].src = "wrt_preview_main.html"; + var src = "wrt_preview_main.html"; + if (window.location.href.match(/debug\-frame\.html/gi)) { + src = "__sym-debug/index.html" + window.location.search; + } + + $('iframe')[0].src = src; NOKIA.data.load(deviceResolutionList);