firemail

标题: 单独读信页 [打印本页]

作者: hechengjin    时间: 2016-3-29 15:06
标题: 单独读信页
本帖最后由 hechengjin 于 2016-3-30 11:06 编辑

messageWindow.xul
  1. <browser id="browser"
  2.            flex="1"
  3.            disablesecurity="true"
  4.            disablehistory="true"
  5.            autofind="false"
  6.            onclick="return contentAreaClick(event);"
  7.            src="chrome://bolt/content/ui/main/messagePaneForRead.html" />
  8.   <script type="application/javascript" src="chrome://shell/content/contextmenu/Main.js"/>
复制代码
messagePaneForRead.html
const { init } = require('./messagePaneForRead.js');
      init();
messagePaneForRead.js
exports.init = () => {
  const MessagePane = require('./MessagePane.js')
      MessagePane.init()     window.showInMessagePane(msgItems, showThreaded)
}

MessagePane.js









欢迎光临 firemail (http://firemail.wang:8088/) Powered by Discuz! X3