start of noo for Search, and rewrite of GetEnt* to use eval(), search and flat done, but also fixed OLD bug I just noticed where prev/next buttons would not work when sorting by "A to Z", etc. as the value of the form.input has a space in it and serializeArray() was not dealing with it properly
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
// this is needed as serliazeArray doesnt handle spaces in values
|
||||
// so we wrap it in this func
|
||||
$.fn.serializeAndEncode = function() {
|
||||
return $.map(this.serializeArray(), function(val) {
|
||||
return [val.name, encodeURIComponent(val.value)].join('=');
|
||||
}).join('&');
|
||||
};
|
||||
|
||||
// grab all selected thumbnails and return a <div> containing the thumbnails
|
||||
// with extra yr and date attached as attributes so we can set the default
|
||||
// dir name for a move directory - not used in del, but no harm to include them
|
||||
|
||||
Reference in New Issue
Block a user