view · edit · sidebar · attach · print · history

20160905-migrate-davaz-com

<< 20160905-debug-permission-error-sandoz-bbmb-ch-ftp-polling-job | Index | 20160902-fix-vetoquinol-smtp-ssl-error-fix-xmlconv-and-bbmb-flavored-issue >>


Summary

  • Fix js bugs on davaz.com

Commits / Patches / Pull Requests, Scripts

Index


Fix ajax guestbook entry on online

Dojo parser fails.
Data has some wrong characters.

Then I've once removed many spam comments.
And then I tried to find comment which has strange characters.

How to find it

  class AdminGuestbookLiveEditor < AdminLiveEditor                                 
    def compose_widget_props                                                       
      #return {} unless (1..10).to_a.include?(@model.guest_id.to_i)                
      #return {} unless (10..15).to_a.include?(@model.guest_id.to_i)               
      #return {} unless (15..20).to_a.include?(@model.guest_id.to_i)               
      #return {} unless (20..30).to_a.include?(@model.guest_id.to_i)               
      #return {} unless (30..40).to_a.include?(@model.guest_id.to_i)               
      #return {} unless (40..50).to_a.include?(@model.guest_id.to_i)               
      return {} unless (50..60).to_a.include?(@model.guest_id.to_i)
      ...

Problem was escaped double quotation mark. `\\"`

Commits:

Fix pager link at Gallery

Commits:

Fix his life components

Dojo does not parse some widgets, also here. But problem was wrong Template file.

Commits:

Fix his life add new element

Commits:

Fix pager total count

The total count of pager is wrong (+1)

Commits:

Fix image upload

Strange HTML table tag has onsubmit, not form.

<form enctype="multipart/form-data" accept-charset="UTF-8" action="http://davaz.com.on.klewenalp/en/gallery" method="POST" name="ajax_upload_image_form">
<table id="upload_image_form" cellspacing="0" onsubmit="(function(e) {e.preventDefault();if (this.image_file.value != '') {submitForm(this, 'artobject_image_567', 'upload_image_form', true);}return false;})(event); return false;">

Fixed image uploader.

Commits

Fix login widget position

Commits

view · edit · sidebar · attach · print · history
Page last modified on September 05, 2016, at 05:00 PM