in cordova/phonegap app i'm testing on android 4.0 need send file server multipart/form-data through ajax. i have file content in arraybuffer , put in formdata , firstly creating blob it. the problem file sent appears empty. this console session (performed on android platform through weinre ) can see that: the file content loaded in mybuf a blob created mybuf (and size non-zero) a formdata object created sent ( fd ) (i'm using webkitblobbuilder because blob constructor raises typeerror on platform) ❯ mybuf ▼ arraybuffer bytelength: 23673 ▶ __proto__: arraybuffer ❯ var bb = new webkitblobbuilder() undefined ❯ bb.append(mybuf) undefined ❯ myblob = bb.getblob("image/jpeg") ▼ blob size: 23673 type: "image/jpeg" ▶ __proto__: blob ❯ fd = new formdata() ▶ formdata ❯ fd.append("pics[]", myblob, "1433412118197.jpg") undefined when perform ajax request passing fd object data, see...
i looking through twitter bootstrap documentation, , i'm interested in implementing dismissible popover when button clicked. here example bootstrap's docs: http://getbootstrap.com/javascript/#dismiss-on-next-click when press "dismissible popover" button os x safari browser works fine. when access same link above ios safari, button not work. is, popover not dismissed on click. why button not working ios safari? the example linked using data-trigger="focus" attribute. try changing data-trigger="click" . <a tabindex="0" class="btn btn-lg btn-danger" role="button" data-toggle="popover" data-trigger="click" title="dismissible popover" data-content="and here's amazing content. it's engaging. right?">dismissible popover</a>
to configure keymap of rubymine, mine opened [preference]->[keymap] , couldn't find how configure keymap rails console. by default in rails console ctrl + r reload rails environment reload! command. can set reverse-i-search ctrl + r bash shell? if go keymap , browse history (under other) set option command e (on mac) can change there.
Comments
Post a Comment