Revision control

Copy as Markdown

Other Tools

/* -*- Mode: Javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
var FILEACTION_SAVE_TO_DISK = 1;
var FILEACTION_OPEN_INTERNALLY = 2;
var FILEACTION_OPEN_DEFAULT = 3;
var FILEACTION_OPEN_CUSTOM = 4;
function FileAction() {}
FileAction.prototype = {
type: "",
extension: "",
hasExtension: true,
editable: true,
smallIcon: "",
bigIcon: "",
typeName: "",
action: "",
mimeInfo: null,
customHandler: "",
handleMode: false,
};