Jeremy Newman : remove openWin, no longer used
Jeremy Newman
jnewman at winehq.org
Mon Nov 21 08:38:10 CST 2016
Module: appdb
Branch: master
Commit: 4453a761313826324432953a655a3a40a57fb271
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=4453a761313826324432953a655a3a40a57fb271
Author: Jeremy Newman <jnewman at codeweavers.com>
Date: Fri Nov 18 15:38:31 2016 -0600
remove openWin, no longer used
---
utils.js | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/utils.js b/utils.js
index 61f0fb8..204428e 100644
--- a/utils.js
+++ b/utils.js
@@ -62,7 +62,6 @@ $(document).ready(function()
$(this).addClass('cursor-pointer');
$(this).click(function(e)
{
-
document.location = sURL;
});
});
@@ -109,20 +108,4 @@ $.fn.toggleClick = function(){
});
};
-// open Window (FIXME: replace with an inline screenshot viewer)
-function openWin(fileToOpen,nameOfWindow,width,height) {
- myWindow = window.open("",nameOfWindow,"menubar=no,scrollbars=yes,status=no,width="+width+",height="+height);
- myWindow.document.open();
- myWindow.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">');
- myWindow.document.write('<html><head><title>Screenshot Viewer</title>')
- myWindow.document.write('<style type="text/css">');
- myWindow.document.write('body { margin: 0; padding: 0; background-color: lightgrey; }');
- myWindow.document.write('img { border: 0; }');
- myWindow.document.write('p { display: inline; }');
- myWindow.document.write('</style></head><body>');
- myWindow.document.write('<a onclick="self.close();" href=""><img src="'+ fileToOpen +'" alt="Screenshot"></a>');
- myWindow.document.write('</body></html>');
- myWindow.document.close();
-}
-
// done
\ No newline at end of file
More information about the wine-cvs
mailing list