PDA

View Full Version : [CLOSED]standartSubmit example bug



Eugen_
16 Feb 2010, 12:09 AM
Ext version tested:

Ext 3.1.1


Browser versions tested against:

FF3.6


Operating System:

Windows 7


Description:

http://www.extjs.com/learn/Manual:Forms:BasicForm:standardSubmit


Steps to reproduce the problem:


Click on the 'Save' button.


The result that was expected:

Redirect to myProcess.php


The result that occurs instead:

It does nothing
'O.getForm is not a function' in FF error console


Possible fix:

22 line:
var O=this.ownerCt.ownerCt;

Animal
16 Feb 2010, 12:12 AM
Take that publicly writeable, non-supported wiki with a truckload of salt.

This is why I do not like the idea of adding publicly writeable stuff to the API docs.

Once one person gets the wrong end of the stick, it infects everyone.

There's loads of bad practice out there instigated by stuff like that. Extending to configure, overnesting and the like.

evant
16 Feb 2010, 12:33 AM
спасибо!

However this isn't what we'd classify as a bug. Regardless, I've fixed up the wiki page to use some more sane variable names.