Results 1 to 3 of 3

Thread: Combobox store with diferent http or https

  1. #1
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    40
    Answers
    3

    Default Combobox store with diferent http or https

    Hello. I have the next code:
    Code:
    {
                                                    xtype: 'combobox',
                                                    id: 'cbEditClient',
                                                    fieldLabel: '???????? ??????? ??? ??????????????',
                                                    labelAlign: 'top',
                                                    anchor: '100%',
                                                    store: customersStore,
                                                    displayField: 'name',
                                                    valueField: 'id',
                                                    typeAhead: false,
                                                    hideTrigger:true,
                                                    listConfig: {
                                                        loadingText: '??????????? ?????...',
                                                        emptyText: '?? ??????? ????????? ??????? ? ???? ?????? ?? ???????.',
                                                    },
                                                    listeners:{
                                                        'select': cbEditClient_onSelect
                                                   }
                                                }
    
    var customersStore = Ext.create('Ext.data.Store', {
        pageSize: 10,
        model: 'CustomersModels',
        proxy: {
            type: 'ajax',
            url : baseUrl+'?ds=customers',
            reader: {
                type: 'json'
            }
        },
    });
    var baseUrl = 'http://sxxxx.com/index-extjs.php';
    I open on the site: http://sxxxx.com/index.php
    All works fine, but when i change baseUrl to https combobox dont work after i type some text on it. WHY if i chnage protocol it dont work?

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,410
    Answers
    716

    Default

    If you enter the URL manually, do you get the result you expect?

    Regards,
    Scott.

  3. #3
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    40
    Answers
    3

    Default

    Yep. If i copy the url from FireBug panel all is ok the result is as i expected.

    And there is one notes: when the htpp + http the URL display in the Console window of FireBug as GET request, but when http + https it display in the Net console with prefix OPTIONS. But when i manualy copy in to the browser the result the same as from http + http.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •