fixed comments

This commit is contained in:
Gedion 2012-09-11 17:02:53 -05:00
parent 9be69ef258
commit 3364eb131e
2 changed files with 2 additions and 68 deletions

View file

@ -376,19 +376,7 @@ function makeContentCollector(collectStyles, browser, apool, domInterface, class
{
var txt = dom.nodeValue(node);
var tname = dom.nodeAttr(node.parentNode,"name");
/*
* Called from: src/static/js/contentcollector.js
*
* Context -
* cc - the contentcollector object
* state - the current state of the change being made
* tname - the tag name of this node currently being processed
* text - the text for that line
* This hook allows you to validate/manipulate the text before it sent to the server side.
* The return value should be the validated/manipulated text.
*
*/
//top.console.log(' nodevalue ',txt);
var txtFromHook = hooks.callAll('collectContentLineText', {
cc: this,
state: state,
@ -466,18 +454,6 @@ function makeContentCollector(collectStyles, browser, apool, domInterface, class
{
var tname = (dom.nodeTagName(node) || "").toLowerCase();
if (tname == "br")
/*
* Called from: src/static/js/contentcollector.js
*
* Context -
* cc - the contentcollector object
* state - the current state of the change being made
* tname - the tag name of this node currently being processed
*
* This hook is provided to allow whether the br tag should induce a new magic domline or not.
* The return value should be either true(break the line) or false.
*
*/
{
this.breakLine = true;
var tvalue = dom.nodeAttr(node, 'value');