This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > June 2004 > Re: DW MX2004 (Mac) won't install tables





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: DW MX2004 (Mac) won't install tables
schnittman

2004-06-02, 11:15 pm

To give more details, the problem seems to be in the return statement below
where DW claims that there is a Type Error because

cmdDOM.parentWindow.createTableStr

is not a function.

The complete code for this function is below:

function objectTag(){
// We're keeping this a separate command, as we want to use the
// "buttons at the bottom" style.
var cmdFile = dreamweaver.getConfigurationPath() +
"/Commands/TableCommands.htm";
var cmdDOM = dreamweaver.getDocumentDOM(cmdFile);
if ( dw.getShowDialogsOnInsert() )
{
dreamweaver.popupCommand("TableCommands.htm");
}
else
{
cmdDOM.parentWindow.initializeUI();
cmdDOM.parentWindow.setTableStr();
}
return (cmdDOM.parentWindow.createTableStr());
}

Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews