This commit is contained in:
Alexander Trofimov
2015-06-25 11:27:08 +03:00
parent dbf21ee32f
commit a10605c91f
174 changed files with 24121 additions and 8908 deletions

View File

@@ -54,6 +54,12 @@ Common.Gateway = new(function () {
"processRightsChange": function (data) {
$me.trigger("processrightschange", data);
},
"refreshHistory": function (data) {
$me.trigger("refreshhistory", data);
},
"setHistoryData": function (data) {
$me.trigger("sethistorydata", data);
},
"processMouse": function (data) {
$me.trigger("processmouse", data);
},
@@ -118,6 +124,22 @@ Common.Gateway = new(function () {
event: "onRequestEditRights"
});
},
requestHistory: function () {
_postMessage({
event: "onRequestHistory"
});
},
requestHistoryData: function (revision) {
_postMessage({
event: "onRequestHistoryData",
data: revision
});
},
requestHistoryClose: function (revision) {
_postMessage({
event: "onRequestHistoryClose"
});
},
reportError: function (code, description) {
_postMessage({
event: "onError",