Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Hybrid View

  1. #1
    Sencha User
    Join Date
    Dec 2011
    Location
    White Rock, BC Canada
    Posts
    161
    Answers
    11
    Vote Rating
    0
    WagsMax is on a distinguished road

      0  

    Default Unanswered: textareafield 'dirtychange' event issue with ie

    Unanswered: textareafield 'dirtychange' event issue with ie


    Having a weird problem in IE only (Chrome and FF are not affected)... when I have an xtype textareafield on a form, and I use loadRecord to display a record onto the form, and the textareafield has a carriage return in the data, the dirtychange event is fubar'd. It causes the onDirtyChangeHandler below to be fired with dirty=true even though no change at all has been made to the data... it was simply loaded onto the form

    Code:
    Ext.define('MyApp.view.ContactEdit', {
        extend: 'Ext.form.Panel',
        alias: 'widget.contactedit',
    
    
    	frame: false,
    	bodyPadding: 5,
    	closable: false,
    	autoScroll: true,
    	
        constructor: function(config) {
            var me = this;
            
            me.callParent([Ext.apply({
                trackResetOnLoad: true
            }, config)]);
            
            me.getForm().on('dirtychange', me.onDirtyChangeHandler, me);
            
            me.saveBtn = me.down('#savebtn');
            me.undoBtn = me.down('#undobtn');
        },
    
    
    	onDirtyChangeHandler: function(form, dirty) {
    		this.saveBtn.setDisabled(!dirty);
    		this.undoBtn.setDisabled(!dirty);
        },
    When there is no CR in the data field, everything works fine. I can't believe that I am the only one who has experienced this issue... is there something I should know about how IE handles textareafields?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,522
    Answers
    3447
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    The text before has the return in it also? What Ext JS 4.x.x are you using?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Location
    White Rock, BC Canada
    Posts
    161
    Answers
    11
    Vote Rating
    0
    WagsMax is on a distinguished road

      0  

    Default


    Yes, the text has the CR in it all along.

    Sencha version is 4.1.1, compiled with Sencha Cmd 3.0.0.250

Thread Participants: 1