FreiChat related discussions
SMF 1.1x quick-edit gets bricked

quick edit function doesn't work anymore. What could that be?

quick edit function doesn't work anymore. What could that be?

Are you getting any errors in the developer console(f12) in chrome ?

Are you getting any errors in the developer console(f12) in chrome ?
Necessity is the mother of all inventions!

When "quickedit" button is pressed, this error appears on both firefox and chrome:

TypeError: document.getElementById(...) is null
document.getElementById("quickmodSubmit").style.display = "none";

and
TypeError: element is undefined
if (typeof(element.innerHTML) != 'undefined')

and
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
document.getElementById("quickmodSubmit").style.display = "none";
// ]]></script>

and
Uncaught TypeError: Cannot read property 'style' of null index.php?topic=18863.msg198396;boardseen:707
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.


when writing a composition and pressing preview using firefox(but in goggle chrome this one works), I am getting this error:
TypeError: XMLDoc.getElementsByTagName(...)[0] is undefined
..., preview = XMLDoc.getElementsByTagName("smf")[0].getElementsByTagName("preview"...




Im seeing this similar code inside this file Scripts/scripts.js:
// Set the "inside" HTML of an element.
function setInnerHTML(element, toValue)
{
// IE has this built in...
if (typeof(element.innerHTML) != 'undefined')
element.innerHTML = toValue;
// Otherwise, try createContextualFragment().
else
{
var range = document.createRange();
range.selectNodeContents(element);
range.deleteContents();
element.appendChild(range.createContextualFragment(toValue));
}
}

When &quot;quickedit&quot; button is pressed, this error appears on both firefox and chrome: &amp;lt;code&amp;gt;TypeError: document.getElementById(...) is null document.getElementById(&quot;quickmodSubmit&quot;).style.display = &quot;none&quot;;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;TypeError: element is undefined if (typeof(element.innerHTML) != &#039;undefined&#039;)&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;script language=&quot;JavaScript&quot; type=&quot;text/javascript&quot;&amp;gt;&amp;lt;!-- // --&amp;gt;&amp;lt;![CDATA[ document.getElementById(&quot;quickmodSubmit&quot;).style.display = &quot;none&quot;; // ]]&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;Uncaught TypeError: Cannot read property &#039;style&#039; of null index.php?topic=18863.msg198396;boardseen:707 event.returnValue is deprecated. Please use the standard event.preventDefault() instead.&amp;lt;/code&amp;gt; when writing a composition and pressing preview using firefox(but in goggle chrome this one works), I am getting this error: &amp;lt;code&amp;gt;TypeError: XMLDoc.getElementsByTagName(...)[0] is undefined ..., preview = XMLDoc.getElementsByTagName(&quot;smf&quot;)[0].getElementsByTagName(&quot;preview&quot;...&amp;lt;/code&amp;gt; Im seeing this similar code inside this file Scripts/scripts.js: &amp;lt;code&amp;gt; // Set the &quot;inside&quot; HTML of an element. function setInnerHTML(element, toValue) { // IE has this built in... if (typeof(element.innerHTML) != &#039;undefined&#039;) element.innerHTML = toValue; // Otherwise, try createContextualFragment(). else { var range = document.createRange(); range.selectNodeContents(element); range.deleteContents(); element.appendChild(range.createContextualFragment(toValue)); } }&amp;lt;/code&amp;gt;
Uncaught TypeError: Cannot read property 'style' of null index.php?topic=18863.msg198396;boardseen:707
Failed to load resource http://lz0.gstatic.com/gen_204?ct=xtoodmmc
Failed to load resource http://lz0.gstatic.com/gen_204?ct=pkvdelty
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
&amp;lt;code&amp;gt;Uncaught TypeError: Cannot read property &#039;style&#039; of null index.php?topic=18863.msg198396;boardseen:707 Failed to load resource http://lz0.gstatic.com/gen_204?ct=xtoodmmc Failed to load resource http://lz0.gstatic.com/gen_204?ct=pkvdelty event.returnValue is deprecated. Please use the standard event.preventDefault() instead.&amp;lt;/code&amp;gt;

Looks like the quickedit is not loading in your website .
Can you give us your website url + 1 test account ?

Looks like the quickedit is not loading in your website . Can you give us your website url + 1 test account ?
Necessity is the mother of all inventions!

My email is hapuzi@yahoo.com. make an account and email me the user name. will make you an admin or mod


My website is www.freestyleforum.net

My email is hapuzi@yahoo.com. make an account and email me the user name. will make you an admin or mod My website is www.freestyleforum.net

You can send us the details using the contact us .

You can send us the details using the contact us .
Necessity is the mother of all inventions!
182
6
0
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft