Note that there are some explanatory texts on larger screens.

plurals
  1. POUncaught TypeError: Cannot call method 'observe' of null / Uncaught ReferenceError: Draggable is not defined
    primarykey
    data
    text
    <p>I've been all over the related questions but couldn't find an answer to my problem.</p> <p><a href="http://s1308.hizliresim.com/1d/5/r50lw.png" rel="nofollow">http://s1308.hizliresim.com/1d/5/r50lw.png</a></p> <p>When I click "Kredi Yükle" a popup should appear but nothing happens and i get these console errors. </p> <p>What should i do?</p> <p>In related js file :</p> <pre><code>CreditLoadingAmrEditor = Class.create({ SELECTION_WINDOW : "wndCreditLoadingHelper", BUTTON_OK : "btnLoadCreditOk", BUTTON_CANCEL : "btnLoadCreditCancel", CREDIT_AMOUNT : "fld_credit_amount", initialize: function(owner) { this.owner = owner; this.browser = owner.browser; this.buttonOk = $(this.BUTTON_OK); this.buttonCancel = $(this.BUTTON_CANCEL); this.selectionWindow = this.initializeHelper(this.SELECTION_WINDOW); var containers = $$("div[id='loadingCreditContainer']"); if (containers &amp;&amp; containers.size() &gt; 0) { this.container = containers[0]; this.editorManager = new EditorManager("loadingCreditContainer"); this.creditAmount = $(this.CREDIT_AMOUNT).instance; } this.browser.addToolClickListener(this); this.buttonOk.observe(iconstants.KEY_CLICK, this.okClick.bindAsEventListener(this)); this.buttonCancel.observe(iconstants.KEY_CLICK, this.closeClick.bindAsEventListener(this)); }, initializeHelper: function(windowName) { var result = $(windowName); if (result){ result.remove(); document.body.appendChild(result); } return result; }, toolClick: function(browser, toolType) { if (toolType == browser.TOOL_LOAD_CREDIT) { this.show(); } return false; }, show: function(callback) { this.callback = callback; FSystem.registerWindow(this.selectionWindow, true, true); }, hide: function() { FSystem.unregisterWindow(this.selectionWindow); }, okClick: function() { if (this.creditAmount.getValue() &gt;= 0) { this.hide(); this.requestForLoadingCredit(); } else { window.alert(localize("value_must_greater_than_0")); } }, closeClick: function() { this.hide(); }, requestForLoadingCredit: function() { FSystem.startWait(); new Ajax.Request( iconstants.URL_CREDIT_LOADING_AMR, { method : iconstants.METHOD_POST, parameters : {mid:this.browser.getSelectedId(),ca:this.creditAmount.getValue()}, onComplete : this.responseForDeviceReading.bind(this), onException : null }); }, responseForDeviceReading: function(transport) { FSystem.stopWait(); var JSON = transport.responseText.evalJSON(); if (JSON.status == iconstants.AJAX_STATUS_OK){ //if (confirm(JSON.message)) { window.open(JSON.url, '_newtab', 'width=1280,height=800'); //} } else { alert(JSON.message); } } </code></pre> <p>});</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload