Skip to content

C:\fakepath #181

@magicua

Description

@magicua

remove C:\fakepath in Chrome

--- scripts/filemanager.js.orig 2013-08-14 10:16:39.000000000 +0300
+++ scripts/filemanager.js      2013-08-13 11:19:31.000000000 +0300
@@ -1106,7 +1106,7 @@
        $('#browse').append('+');
        $('#browse').attr('title', lg.browse);
        $("#newfile").change(function() {
-               $("#filepath").val($(this).val());
+               $("#filepath").val($(this).val().replace(/.+[\\\/]/, ""));
        });
 
        /** load searchbox */

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions