One of Sencha User, Joel, pointed out one of problems in Sencha Touch ListPagingPlugin that display ‘Load more…’ message even if a result gave less rows than paging size. Below code he suggested will fix the problem: Ext.override(Ext.plugins.ListPagingPlugin, { onListUpdate : function() { if (this.list.store && this.list.store.data.length < (this.list.store.currentPage * this.list.store.pageSize)) { if (!this.rendered) {…
Month: June 2011
HTML Purifier
HTML Purifier is a standards-compliant HTML filter library written in PHP. HTML Purifier will not only remove all malicious code (better known as XSS) with a thoroughly audited, secure yet permissive whitelist, it will also make sure your documents are standards compliant, something only achievable with a comprehensive knowledge of W3C’s specifications. Tired of using…
Symbolic link for Window and MAC OS X
I needed to make symbolic link for Windows machine to be shared with Mac OS X platform. Turns out, I cannot create symbolic link for both platform at once(or not?) In addition, Linux(web hosting) also cannot be shared symbolic link. Therefore, I have to create symbolic link for all platform separately. 1. Windows. – Link…