Minor bug fixes for astroedit

sitefile snippet cancel not work
cannot delete Article
syntaxhighlighter disable quick-code
added rss button
This commit is contained in:
2015-12-22 22:52:29 +08:00
parent 73301ce88a
commit 33661021da
8 changed files with 37 additions and 18 deletions

View File

@@ -48,16 +48,19 @@
}
// Popup MessageBox
new MessageBox("Insert site file"
new MessageBox(
"Insert site file"
, Dand.wrape([
v_snippetInput
, Dand.wrape([ input_preferred, Dand.textNode( "Preferred" ) ])
])
, "OK", "Cancel", visualizer.bind({
code: v_snippetInput
, preferred: input_preferred
, stage: this._stage
})).show();
, "OK", "Cancel"
, visualizer.bind({
code: v_snippetInput
, preferred: input_preferred
, stage: this._stage
})
).show();
}
, __applyData = function (e)
@@ -210,16 +213,16 @@
getData( config.path.info + hash, __applyData.bind({stage: temp, hash: hash}), loadFailed );
}
i = {
_content: hash
, _preferred: preferred || "off"
, _stage: temp
};
// Set context menu
createContext( i, j, handler );
}
i = {
_content: hash
, _preferred: preferred || "off"
, _stage: temp
};
// Set context menu
createContext( i, j, handler );
};
if (override)